Click or drag to resize

WcfLogReceiverClient Class

Log Receiver Client facade. It allows the use either of the one way or two way service contract using WCF through its unified interface.
Inheritance Hierarchy
SystemObject
  NLog.LogReceiverServiceWcfLogReceiverClient

Namespace:  NLog.LogReceiverService
Assembly:  NLog.Wcf (in NLog.Wcf.dll) Version: 5.2.1+bb45a7652322449cc5d22f0e8ecf7e119c124ca2
Syntax
public sealed class WcfLogReceiverClient : IWcfLogReceiverClient, 
	ICommunicationObject

The WcfLogReceiverClient type exposes the following members.

Constructors
  NameDescription
Public methodWcfLogReceiverClient(Boolean)
Initializes a new instance of the WcfLogReceiverClient class.
Public methodWcfLogReceiverClient(Boolean, String)
Initializes a new instance of the WcfLogReceiverClient class.
Public methodWcfLogReceiverClient(Boolean, Binding, EndpointAddress)
Initializes a new instance of the WcfLogReceiverClient class.
Public methodWcfLogReceiverClient(Boolean, String, EndpointAddress)
Initializes a new instance of the WcfLogReceiverClient class.
Public methodWcfLogReceiverClient(Boolean, String, String)
Initializes a new instance of the WcfLogReceiverClient class.
Top
Properties
  NameDescription
Public propertyClientCredentials
Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.
Public propertyCookieContainer
Gets or sets the cookie container.
Public propertyEndpoint
Gets the target endpoint for the service to which the WCF client can connect.
Public propertyInnerChannel
Gets the underlying IClientChannel implementation.
Public propertyProxiedClient
The client getting proxied
Public propertyState
Gets the current state of the communication-oriented object.
Public propertyUseOneWay
Do we use one-way or two-way messaging?
Top
Methods
  NameDescription
Public methodAbort
Causes a communication object to transition immediately from its current state into the closed state.
Public methodBeginClose(AsyncCallback, Object)
Begins an asynchronous operation to close a communication object.
Public methodBeginClose(TimeSpan, AsyncCallback, Object)
Begins an asynchronous operation to close a communication object with a specified timeout.
Public methodBeginOpen(AsyncCallback, Object)
Begins an asynchronous operation to open a communication object.
Public methodBeginOpen(TimeSpan, AsyncCallback, Object)
Begins an asynchronous operation to open a communication object within a specified interval of time.
Public methodBeginProcessLogMessages
Begins processing of log messages.
Public methodClose
Causes a communication object to transition from its current state into the closed state.
Public methodClose(TimeSpan)
Causes a communication object to transition from its current state into the closed state.
Public methodCloseAsync
Closes the client asynchronously.
Public methodCloseAsync(Object)
Closes the client asynchronously.
Public methodCloseCommunicationObject
Causes a communication object to transition from its current state into the closed state.
Public methodDisplayInitializationUI
Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it.
Public methodEndClose
Completes an asynchronous operation to close a communication object.
Public methodEndOpen
Completes an asynchronous operation to open a communication object.
Public methodEndProcessLogMessages
Ends asynchronous processing of log messages.
Public methodOpen
Causes a communication object to transition from the created state into the opened state.
Public methodOpen(TimeSpan)
Causes a communication object to transition from the created state into the opened state within a specified interval of time.
Public methodOpenAsync
Opens the client asynchronously.
Public methodOpenAsync(Object)
Opens the client asynchronously.
Public methodProcessLogMessagesAsync(NLogEvents)
Processes the log messages asynchronously.
Public methodProcessLogMessagesAsync(NLogEvents, Object)
Processes the log messages asynchronously.
Top
Events
  NameDescription
Public eventCloseCompleted
Occurs when Close operation has completed.
Public eventClosed
Occurs when the communication object completes its transition from the closing state into the closed state.
Public eventClosing
Occurs when the communication object first enters the closing state.
Public eventFaulted
Occurs when the communication object first enters the faulted state.
Public eventOpenCompleted
Occurs when Open operation has completed.
Public eventOpened
Occurs when the communication object completes its transition from the opening state into the opened state.
Public eventOpening
Occurs when the communication object first enters the opening state.
Public eventProcessLogMessagesCompleted
Occurs when the log message processing has completed.
Top
Remarks
Delegating methods are generated with Resharper. 1. change ProxiedClient to private field (instead of public property) 2. delegate members 3. change ProxiedClient back to public property.
See Also