Method | Description | |
---|---|---|
Close ( ) : void |
Closes the DescriptorBase instance.
|
|
Dispose ( ) : void |
Method | Description | |
---|---|---|
DescriptorBase ( IDescriptorContainer container ) : System |
Initializes a new instance of the DescriptorBase class. This constructor initializes the Container and SocketArgs properties. |
|
Dispose ( bool disposing ) : void |
Called when the instance is being released.
|
|
OnClosed ( ) : void |
A hook to the end of the publicly exposed Close() method.
|
|
OnError ( |
Raises the Error event and closes the connection. The event will be raised only if it has subscribers and the SocketAsyncEventArgs.SocketError property of args is not SocketError.Success. |
protected DescriptorBase ( IDescriptorContainer container ) : System | ||
container | IDescriptorContainer | The container of this descriptor. |
return | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | Whether we are disposing or finalizing the instance. |
return | void |
protected OnError ( |
||
args |
/// A |
|
return | void |