If you have a pending operation, eg
stream.BeginRead(_buffer, 0, _buffer.Length, _asyncCallbackRead, this);
and you close the stream provi
This is not directly supported in the framework. Your best bet is to write a wrapper that spawns a thread and use synchronization primitives like events to signal a cancel request.
HTH
Colby Africa