Click or drag to resize

WcfLogReceiverClientBaseTService Class

Abstract base class for the WcfLogReceiverXXXWay classes. It can only be used internally (see internal constructor). It passes off any Channel usage to the inheriting class.
Inheritance Hierarchy
SystemObject
  System.ServiceModelClientBaseTService
    NLog.LogReceiverServiceWcfLogReceiverClientBaseTService
      NLog.LogReceiverServiceWcfLogReceiverOneWayClient
      NLog.LogReceiverServiceWcfLogReceiverTwoWayClient

Namespace:  NLog.LogReceiverService
Assembly:  NLog.Wcf (in NLog.Wcf.dll) Version: 5.2.1+bb45a7652322449cc5d22f0e8ecf7e119c124ca2
Syntax
public abstract class WcfLogReceiverClientBase<TService> : ClientBase<TService>, 
	IWcfLogReceiverClient, ICommunicationObject
where TService : class

Type Parameters

TService
Type of the WCF service.

The WcfLogReceiverClientBaseTService type exposes the following members.

Constructors
  NameDescription
Protected methodWcfLogReceiverClientBaseTService
Initializes a new instance of the WcfLogReceiverClientBaseTService class.
Protected methodWcfLogReceiverClientBaseTService(String)
Initializes a new instance of the WcfLogReceiverClientBaseTService class.
Protected methodWcfLogReceiverClientBaseTService(Binding, EndpointAddress)
Initializes a new instance of the WcfLogReceiverClientBaseTService class.
Protected methodWcfLogReceiverClientBaseTService(String, EndpointAddress)
Initializes a new instance of the WcfLogReceiverClientBaseTService class.
Protected methodWcfLogReceiverClientBaseTService(String, String)
Initializes a new instance of the WcfLogReceiverClientBaseTService class.
Top
Properties
  NameDescription
Protected propertyChannel
Gets the inner channel used to send messages to variously configured service endpoints.
(Inherited from ClientBaseTService.)
Public propertyChannelFactory
Gets the underlying ChannelFactoryTChannel object.
(Inherited from ClientBaseTService.)
Public propertyClientCredentials
Gets the client credentials used to call an operation.
(Inherited from ClientBaseTService.)
Public propertyCookieContainer
Gets or sets the cookie container.
Public propertyEndpoint
Gets the target endpoint for the service to which the WCF client can connect.
(Inherited from ClientBaseTService.)
Public propertyInnerChannel
Gets the underlying IClientChannel implementation.
(Inherited from ClientBaseTService.)
Public propertyState
Gets the current state of the ClientBaseTChannel object.
(Inherited from ClientBaseTService.)
Top
Methods
  NameDescription
Public methodAbort
Causes the ClientBaseTChannel object to transition immediately from its current state into the closed state.
(Inherited from ClientBaseTService.)
Public methodBeginProcessLogMessages
Begins processing of log messages.
Public methodClose
Causes the ClientBaseTChannel object to transition from its current state into the closed state.
(Inherited from ClientBaseTService.)
Public methodCloseAsync
Closes the client asynchronously.
Public methodCloseAsync(Object)
Closes the client asynchronously.
Protected methodCreateChannel
Returns a new channel to the service.
(Inherited from ClientBaseTService.)
Public methodDisplayInitializationUI
Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it.
(Inherited from ClientBaseTService.)
Public methodEndProcessLogMessages
Ends asynchronous processing of log messages.
Protected methodGetDefaultValueForInitializationT
Replicates the behavior of the default keyword in C#.
(Inherited from ClientBaseTService.)
Protected methodInvokeAsync
Provides support for implementing the event-based asynchronous pattern. For more information about this pattern, see Event-based Asynchronous Pattern Overview.
(Inherited from ClientBaseTService.)
Public methodOpen
Causes the ClientBaseTChannel object to transition from the created state into the opened state.
(Inherited from ClientBaseTService.)
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 eventOpenCompleted
Occurs when Open operation has completed.
Public eventProcessLogMessagesCompleted
Occurs when the log message processing has completed.
Top
See Also