DiscoveryWebProxyClient Class
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Implements IDiscoveryService and provides an authenticated connection to the Discovery.svc/web endpoint. This /web endpoint is also used by web resources.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
System.ServiceModel.ClientBase<TChannel>
Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<TService>
Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient
| Name | Description | |
|---|---|---|
![]() | DiscoveryWebProxyClient(Uri) | Initializes a new instance of theDiscoveryWebProxyClient class using a Discovery service URL. |
![]() | DiscoveryWebProxyClient(Uri, TimeSpan) | Initializes a new instance of theDiscoveryWebProxyClient class using a Discovery service URL and a time span. |
| 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.(Inherited from WebProxyClient<TService>.) |
![]() | InnerChannel | (Inherited from ClientBase<TChannel>.) |
![]() | SdkClientVersion | The version of your client application.(Inherited from WebProxyClient<TService>.) |
![]() | State | (Inherited from ClientBase<TChannel>.) |
You must set the HeaderToken and SdkClientVersion property values before using the proxy object to make service calls.
To call the Discovery web service using the IDiscoveryService interface, cast the proxy instance to an IDiscoveryService type.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright






