Click or drag to resize

JCOBridgeUnmanagedMemoryStreamEndWrite Method

Ends an asynchronous write operation. (Consider using WriteAsync(Byte, Int32, Int32) instead; see the Remarks section.)

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public override void EndWrite(
	IAsyncResult asyncResult
)

Parameters

asyncResult  IAsyncResult
A reference to the outstanding asynchronous I/O request.
Exceptions
ExceptionCondition
ArgumentNullExceptionasyncResult is null.
ArgumentExceptionA handle to the pending write operation is not available.-or-The pending operation does not support writing.
InvalidOperationExceptionasyncResult did not originate from a BeginWrite(Byte, Int32, Int32, AsyncCallback, Object) method on the current stream.
IOExceptionThe stream is closed or an internal error has occurred.
See Also