Host.SetProtocolVersion(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released.
Sets what protocol version to use.
Set value to null to reset back to none.
public void SetProtocolVersion (object? value);
Parameters
- value
- 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 Type.