Method AbortSend
AbortSend(DataStreamWriter)
Aborts a asynchronous send.
Declaration
public void AbortSend(DataStreamWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataStreamWriter | writer | If you require the payload to be of certain size. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | If endsend is called with a matching BeginSend call. |
InvalidOperationException | If the connection got closed between the call of being and end send. |