Table of Contents

Class PinpointClientBase<TChannel, TOptions>

Namespace
Acuit.Pinpoint.Services.Client
Assembly
Acuit.Pinpoint.Services.Client.dll

The base class for clients for the Acuit Pinpoint TCP SOAP services.

public abstract class PinpointClientBase<TChannel, TOptions> : ClientBase<TChannel> where TChannel : class where TOptions : PinpointClientOptions

Type Parameters

TChannel

The channel to be used to connect to the service.

TOptions

The type of the connection options class.

Inheritance
PinpointClientBase<TChannel, TOptions>
Derived

Constructors

PinpointClientBase(TOptions, Func<TOptions, NetTcpBinding>)

Initializes a new instance of the PinpointClientBase<TChannel, TOptions> class.

protected PinpointClientBase(TOptions options, Func<TOptions, NetTcpBinding> bindingCreator)

Parameters

options TOptions

The client connection options.

bindingCreator Func<TOptions, NetTcpBinding>

A delegate that creates a NetTcpBinding from the client connection options.

Exceptions

ArgumentNullException

options is null.

ArgumentNullException

bindingCreator is null.

InvalidOperationException

The options are invalid.

Methods

CreateNetTcpBinding(PinpointClientOptions)

Creates a new NetTcpBinding with common settings initialized.

protected static NetTcpBinding CreateNetTcpBinding(PinpointClientOptions options)

Parameters

options PinpointClientOptions

The client options.

Returns

NetTcpBinding

Exceptions

ArgumentNullException

options is null.