DiscoveryWebProxyClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DiscoveryWebProxyClient(Uri) |
Initializes a new instance of the DiscoveryWebProxyClient class using a Discovery service URL. |
DiscoveryWebProxyClient(Uri, TimeSpan) |
Initializes a new instance of the DiscoveryWebProxyClient class using a Discovery service URL and a time span. |
DiscoveryWebProxyClient(Uri)
Initializes a new instance of the DiscoveryWebProxyClient class using a Discovery service URL.
public:
DiscoveryWebProxyClient(Uri ^ serviceUrl);
public DiscoveryWebProxyClient (Uri serviceUrl);
new Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient : Uri -> Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient
Public Sub New (serviceUrl As Uri)
Parameters
- serviceUrl
- Uri
The URL of the Discovery web service.
Remarks
The URL must contain the SDK client version. For example:
https://disco.crm.dynamics.com/XRMServices/2011/Discovery.svc/web?SdkClientVersion=7.0.0.0
See also
Applies to
DiscoveryWebProxyClient(Uri, TimeSpan)
Initializes a new instance of the DiscoveryWebProxyClient class using a Discovery service URL and a time span.
public:
DiscoveryWebProxyClient(Uri ^ serviceUrl, TimeSpan timeout);
public DiscoveryWebProxyClient (Uri serviceUrl, TimeSpan timeout);
new Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient : Uri * TimeSpan -> Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient
Public Sub New (serviceUrl As Uri, timeout As TimeSpan)
Parameters
- serviceUrl
- Uri
The URL of the Discovery web service.
- timeout
- TimeSpan
The maximum amount of time a single channel operation has to complete before a timeout fault is raised on a service channel binding.
Remarks
The URL must contain the SDK client version. For example:
https://disco.crm.dynamics.com/XRMServices/2011/Discovery.svc/web?SdkClientVersion=7.0.0.0