WebProxyClient<TService> Class
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)
Inheritance Hierarchy
System.Object
System.ServiceModel.ClientBase<TChannel>
Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<TService>
Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient
Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient
Syntax
public abstract class WebProxyClient<TService> : ClientBase<TService>,
IDisposable
where TService : class
Public MustInherit Class WebProxyClient(Of TService As Class)
Inherits ClientBase(Of TService)
Implements IDisposable
Type Parameters
- TService
A type of web service.
Constructors
Name | Description | |
---|---|---|
WebProxyClient<TService>(Uri, Assembly) | Initializes a new instance of theWebProxyClient<TService> class using an Organization service URL and an assembly. |
|
WebProxyClient<TService>(Uri, Boolean) | Initializes a new instance of theWebProxyClient<TService> class using an Organization service URL. |
|
WebProxyClient<TService>(Uri, TimeSpan, Assembly) | Initializes a new instance of theWebProxyClient<TService> class using an Organization service URL, a time span, and an assembly. |
|
WebProxyClient<TService>(Uri, TimeSpan, Boolean) | Initializes a new instance of theWebProxyClient<TService> class using an Organization service URL and time span. |
Properties
Name | Description | |
---|---|---|
Channel | (Inherited from ClientBase<TChannel>.) |
|
ChannelFactory | (Inherited from ClientBase<TChannel>.) |
|
ClientCredentials | (Inherited from ClientBase<TChannel>.) |
|
Endpoint | (Inherited from ClientBase<TChannel>.) |
|
HeaderToken | The access token returned from OAuth authentication. |
|
InnerChannel | (Inherited from ClientBase<TChannel>.) |
|
SdkClientVersion | The version of your client application. |
|
State | (Inherited from ClientBase<TChannel>.) |
Methods
Name | Description | |
---|---|---|
Abort() | (Inherited from ClientBase<TChannel>.) |
|
Close() | (Inherited from ClientBase<TChannel>.) |
|
CreateChannel() | (Inherited from ClientBase<TChannel>.) |
|
CreateNewInitializer() | 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. |
|
CreateServiceEndpoint(Uri, Boolean, TimeSpan, Assembly) | Creates the service endpoint required for the proxy and adds support for early-bound types in the provided assembly. |
|
DisplayInitializationUI() | (Inherited from ClientBase<TChannel>.) |
|
Dispose() | Disposes the web proxy client object. |
|
Dispose(Boolean) | Disposes the web proxy client object. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | Destructor for the WebProxyClient<TService> class.(Overrides Object.Finalize().) |
|
GetBinding(Uri, TimeSpan) | Returns the default BasicHttpBinding that the proxy classes will use. |
|
GetDefaultValueForInitialization<T>() | (Inherited from ClientBase<TChannel>.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
InvokeAsync(ClientBase<TChannel>.BeginOperationDelegate, Object[], ClientBase<TChannel>.EndOperationDelegate, SendOrPostCallback, Object) | (Inherited from ClientBase<TChannel>.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
Open() | (Inherited from ClientBase<TChannel>.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
DiscoveryWebProxyClient
OrganizationWebProxyClient
Microsoft.Xrm.Sdk.WebServiceClient Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright