WebProxyClient<TService> Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

A base class that creates an authenticated web service endpoint on a WCF channel.

Namespace:   Microsoft.Xrm.Sdk.WebServiceClient
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)


public abstract class WebProxyClient<TService> : ClientBase<TService>, 
	IDisposable
where TService : class

Type Parameters

TService

A type of web service.

NameDescription
System_CAPS_protmethodWebProxyClient<TService>(Uri, Assembly)

Initializes a new instance of theWebProxyClient<TService> class using an Organization service URL and an assembly.

System_CAPS_protmethodWebProxyClient<TService>(Uri, Boolean)

Initializes a new instance of theWebProxyClient<TService> class using an Organization service URL.

System_CAPS_protmethodWebProxyClient<TService>(Uri, TimeSpan, Assembly)

Initializes a new instance of theWebProxyClient<TService> class using an Organization service URL, a time span, and an assembly.

System_CAPS_protmethodWebProxyClient<TService>(Uri, TimeSpan, Boolean)

Initializes a new instance of theWebProxyClient<TService> class using an Organization service URL and time span.

NameDescription
System_CAPS_protpropertyChannel

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertyChannelFactory

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertyClientCredentials

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertyEndpoint

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertyHeaderToken

The access token returned from OAuth authentication.

System_CAPS_pubpropertyInnerChannel

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertySdkClientVersion

The version of your client application.

System_CAPS_pubpropertyState

(Inherited from ClientBase<TChannel>.)

NameDescription
System_CAPS_pubmethodAbort()

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubmethodClose()

(Inherited from ClientBase<TChannel>.)

System_CAPS_protmethodCreateChannel()

(Inherited from ClientBase<TChannel>.)

System_CAPS_protmethodCreateNewInitializer()

Creates the WCF proxy client initializer which gets invoked on every SDK method call. This method makes sure that the access token and other header values are added to the outbound call.

System_CAPS_protmethodSystem_CAPS_staticCreateServiceEndpoint(Uri, Boolean, TimeSpan, Assembly)

Creates the service endpoint required for the proxy and adds support for early-bound types in the provided assembly.

System_CAPS_pubmethodDisplayInitializationUI()

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubmethodDispose()

Disposes the web proxy client object.

System_CAPS_protmethodDispose(Boolean)

Disposes the web proxy client object.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

Destructor for the WebProxyClient<TService> class.(Overrides Object.Finalize().)

System_CAPS_protmethodSystem_CAPS_staticGetBinding(Uri, TimeSpan)

Returns the default BasicHttpBinding that the proxy classes will use.

System_CAPS_protmethodGetDefaultValueForInitialization<T>()

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInvokeAsync(ClientBase<TChannel>.BeginOperationDelegate, Object[], ClientBase<TChannel>.EndOperationDelegate, SendOrPostCallback, Object)

(Inherited from ClientBase<TChannel>.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOpen()

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: