 | WcfLogReceiverClientClose Method |
Causes a communication object to transition from its current state into the closed state.
Namespace:
NLog.LogReceiverService
Assembly:
NLog.Wcf (in NLog.Wcf.dll) Version: 5.2.2+0aa8a85babd1d0accd72c78d26557909e04224a2
SyntaxPublic Sub Close
Dim instance As WcfLogReceiverClient
instance.Close()
abstract Close : unit -> unit
override Close : unit -> unit
Implements
ICommunicationObjectClose
ExceptionsException | Condition |
---|
CommunicationObjectFaultedException | Close was called on an object in the Faulted state. |
TimeoutException | The default close timeout elapsed before the ICommunicationObject was able to close gracefully. |
See Also