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: 5.2.1+bb45a7652322449cc5d22f0e8ecf7e119c124ca2
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