Host.SetProtocolVersion(Object) Method
Definition
Sets what protocol version to use.
Set value to null to reset back to none.
public void SetProtocolVersion (object? value);
Parameters
- value
- System.Object
Value can be any object you want, as long as the TypeReaderWriterManager has a TypeReadWriter<T> for it.
Exceptions
Thrown if the Host is already running
Thrown if the TypeReaderWriterManager doesn't have a TypeReadWriter<T> for the value System.Type.