IServiceProxyFactoryGetProxyTChannel(String, ICredentials) Method

Returns a proxy for an endpoint using specified credentials

Definition

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
IServiceProxy<TChannel> GetProxy<TChannel>(
	string endpointName,
	ICredentials impersonationCredentials
)
where TChannel : ICommunicationObject

Parameters

endpointName  String
Name of the service endpoint.
impersonationCredentials  ICredentials
Credentials to use when connecting to the service endpoint.

Type Parameters

TChannel
Type of channel the proxy connects to.

Return Value

IServiceProxyTChannel
Returns a proxy fo an endpoint.

See Also