| 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
)
Public Sub EndClose (
result As IAsyncResult
)
Dim instance As WcfLogReceiverClient
Dim result As IAsyncResult
instance.EndClose(result)
abstract EndClose :
result : IAsyncResult -> unit
override EndClose :
result : IAsyncResult -> unit
Parameters
- result
- Type: SystemIAsyncResult
The IAsyncResult that is returned by a call to the BeginClose method.
Implements
ICommunicationObjectEndClose(IAsyncResult)Exceptions Exception | Condition |
---|
CommunicationObjectFaultedException | BeginClose was called on an object in the Faulted state. |
TimeoutException | The timeout elapsed before the ICommunicationObject was able to close gracefully. |
See Also