Delegate StreamingServer.DisconnectedHandler
Represents the method that handles the event when a connection is disconnected.
public delegate void StreamingServer.DisconnectedHandler(Guid connectionId, ExtendedSocketError socketError)
Parameters
connectionIdGuidThe unique identifier of the connection.
socketErrorExtendedSocketErrorThe socket error that caused the disconnection.
Constructors
DisconnectedHandler(object, nint)
public DisconnectedHandler(object @object, nint method)
Parameters
Methods
BeginInvoke(Guid, ExtendedSocketError, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(Guid connectionId, ExtendedSocketError socketError, AsyncCallback callback, object @object)
Parameters
connectionIdGuidsocketErrorExtendedSocketErrorcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(Guid, ExtendedSocketError)
public virtual void Invoke(Guid connectionId, ExtendedSocketError socketError)
Parameters
connectionIdGuidsocketErrorExtendedSocketError