IServiceProxyFactoryGetProxyTChannel Method (String, ICredentials)

Scanjour Workflow4 Reference Manual
Returns a proxy for an endpoint using specified credentials

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax

IServiceProxy<TChannel> GetProxy<TChannel>(
	string endpointName,
	ICredentials impersonationCredentials
)
where TChannel : ICommunicationObject

Parameters

endpointName
Type: SystemString
Name of the service endpoint.
impersonationCredentials
Type: System.NetICredentials
Credentials to use when connecting to the service endpoint.

Type Parameters

TChannel
Type of channel the proxy connects to.

Return Value

Type: IServiceProxyTChannel
Returns a proxy fo an endpoint.
See Also

Reference