Click or drag to resize

WcfLogReceiverClient Constructor (Boolean, ServiceEndpoint)

Initializes a new instance of the WcfLogReceiverClient class.

Namespace:  NLog.LogReceiverService
Assembly:  NLog.Wcf (in NLog.Wcf.dll) Version: 6.1.4+f70e1999c43efb211479bd8fa9304ca21558f8df
Syntax
public WcfLogReceiverClient(
	bool useOneWay,
	ServiceEndpoint endpoint
)

Parameters

useOneWay
Type: SystemBoolean
Whether to use the one way or two way WCF client.
endpoint
Type: System.ServiceModel.DescriptionServiceEndpoint
The endpoint for a service that allows clients to find and communicate with the service.
See Also