Click or drag to resize

WcfLogReceiverClient Constructor (Boolean, Binding, EndpointAddress)

Initializes a new instance of the WcfLogReceiverClient class.

Namespace:  NLog.LogReceiverService
Assembly:  NLog.Wcf (in NLog.Wcf.dll) Version: 5.2.2+0aa8a85babd1d0accd72c78d26557909e04224a2
Syntax
public WcfLogReceiverClient(
	bool useOneWay,
	Binding binding,
	EndpointAddress remoteAddress
)

Parameters

useOneWay
Type: SystemBoolean
Whether to use the one way or two way WCF client.
binding
Type: System.ServiceModel.ChannelsBinding
The binding.
remoteAddress
Type: System.ServiceModelEndpointAddress
The remote address.
See Also