Returns a proxy for an endpoint using specified credentials
Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 21.3.0.0 (21.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: IServiceProxyTChannelReturns a proxy fo an endpoint.
See Also