ServiceProxyFactoryGetProxyTChannel(String, ICredentials) Method
Returns a proxy for an endpoint using specified credentials
Namespace: Scanjour.Workflow4.BaseAssembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
public IServiceProxy<TChannel> GetProxy<TChannel>(
string endpointName,
ICredentials impersonationCredentials
)
where TChannel : ICommunicationObject
Public Function GetProxy(Of TChannel As ICommunicationObject) (
endpointName As String,
impersonationCredentials As ICredentials
) As IServiceProxy(Of TChannel)
public:
generic<typename TChannel>
where TChannel : ICommunicationObject
virtual IServiceProxy<TChannel>^ GetProxy(
String^ endpointName,
ICredentials^ impersonationCredentials
) sealed
abstract GetProxy :
endpointName : string *
impersonationCredentials : ICredentials -> IServiceProxy<'TChannel> when 'TChannel : ICommunicationObject
override GetProxy :
endpointName : string *
impersonationCredentials : ICredentials -> IServiceProxy<'TChannel> when 'TChannel : ICommunicationObject
- endpointName String
- Name of the service endpoint.
- impersonationCredentials ICredentials
- Credentials to use when connecting to the service endpoint.
- TChannel
- Type of channel the proxy connects to.
IServiceProxyTChannelReturns a proxy fo an endpoint.
IServiceProxyFactoryGetProxyTChannel(String, ICredentials)