PrintQueueStream.EndWrite(IAsyncResult) 方法

定义

结束执行异步写入操作。Ends an asynchronous write operation.

public:
 override void EndWrite(IAsyncResult ^ asyncResult);
public override void EndWrite (IAsyncResult asyncResult);
override this.EndWrite : IAsyncResult -> unit
Public Overrides Sub EndWrite (asyncResult As IAsyncResult)

参数

asyncResult
IAsyncResult

对挂起异步 I/O 请求的引用。A reference to the pending asynchronous I/O request.

注解

必须对从对 BeginWrite的调用返回的每个 IAsyncResult 只调用一次 EndWriteEndWrite must be called exactly once on every IAsyncResult that is returned from a call to BeginWrite.

适用于