Click or drag to resize

WcfLogReceiverClientEndClose Method

Completes an asynchronous operation to close a communication object.

Namespace:  NLog.LogReceiverService
Assembly:  NLog.Wcf (in NLog.Wcf.dll) Version: 6.0.2+1fe4e7c0107b475330933905458bc9d6eb3eca8e
Syntax
public void EndClose(
	IAsyncResult result
)

Parameters

result
Type: SystemIAsyncResult
The IAsyncResult that is returned by a call to the BeginClose method.

Implements

ICommunicationObjectEndClose(IAsyncResult)
Exceptions
ExceptionCondition
CommunicationObjectFaultedExceptionBeginClose was called on an object in the Faulted state.
TimeoutExceptionThe timeout elapsed before the ICommunicationObject was able to close gracefully.
See Also