WebProxyClient<TService> 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
WebProxyClient<TService>(Uri, Boolean) |
Initializes a new instance of the WebProxyClient<TService> class using an Organization service URL. |
WebProxyClient<TService>(Uri, Assembly) |
Initializes a new instance of the WebProxyClient<TService> class using an Organization service URL and an assembly. |
WebProxyClient<TService>(Uri, TimeSpan, Boolean) |
Initializes a new instance of the WebProxyClient<TService> class using an Organization service URL and time span. |
WebProxyClient<TService>(Uri, TimeSpan, Assembly) |
Initializes a new instance of the WebProxyClient<TService> class using an Organization service URL, a time span, and an assembly. |
WebProxyClient<TService>(Uri, Boolean)
Initializes a new instance of the WebProxyClient<TService> class using an Organization service URL.
protected:
WebProxyClient(Uri ^ serviceUrl, bool useStrongTypes);
protected WebProxyClient (Uri serviceUrl, bool useStrongTypes);
new Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<'Service (requires 'Service : null)> : Uri * bool -> Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<'Service (requires 'Service : null)>
Protected Sub New (serviceUrl As Uri, useStrongTypes As Boolean)
Parameters
- serviceUrl
- Uri
The URL of the Organization web service.
- useStrongTypes
- Boolean
When true, use early-bound types; otherwise, false
.
Remarks
The URL must contain the SDK client version. The client version is set to the version of the SDK assemblies that the client application was linked to. For example:
https://myorg.crm.dynamics.com/XRMServices/2011/Organization.svc/web?SdkClientVersion=7.0.0.0
See also
Applies to
WebProxyClient<TService>(Uri, Assembly)
Initializes a new instance of the WebProxyClient<TService> class using an Organization service URL and an assembly.
protected:
WebProxyClient(Uri ^ serviceUrl, System::Reflection::Assembly ^ strongTypeAssembly);
protected WebProxyClient (Uri serviceUrl, System.Reflection.Assembly strongTypeAssembly);
new Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<'Service (requires 'Service : null)> : Uri * System.Reflection.Assembly -> Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<'Service (requires 'Service : null)>
Protected Sub New (serviceUrl As Uri, strongTypeAssembly As Assembly)
Parameters
- serviceUrl
- Uri
The URL of the Organization web service.
- strongTypeAssembly
- Assembly
An assembly containing early-bound types.
Remarks
The URL must contain the SDK client version. The client version is set to the version of the SDK assemblies that the client application was linked to. For example:
https://myorg.crm.dynamics.com/XRMServices/2011/Organization.svc/web?SdkClientVersion=7.0.0.0
See also
Applies to
WebProxyClient<TService>(Uri, TimeSpan, Boolean)
Initializes a new instance of the WebProxyClient<TService> class using an Organization service URL and time span.
protected:
WebProxyClient(Uri ^ serviceUrl, TimeSpan timeout, bool useStrongTypes);
protected WebProxyClient (Uri serviceUrl, TimeSpan timeout, bool useStrongTypes);
new Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<'Service (requires 'Service : null)> : Uri * TimeSpan * bool -> Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<'Service (requires 'Service : null)>
Protected Sub New (serviceUrl As Uri, timeout As TimeSpan, useStrongTypes As Boolean)
Parameters
- serviceUrl
- Uri
The URL of the Organization 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.
- useStrongTypes
- Boolean
When true, use early-bound types; otherwise, false
.
Remarks
The URL must contain the SDK client version. The client version is set to the version of the SDK assemblies that the client application was linked to. For example:
https://myorg.crm.dynamics.com/XRMServices/2011/Organization.svc/web?SdkClientVersion=7.0.0.0
The timeout is passed to the SendTimeout, ReceiveTimeout, and OpenTimeout properties on the WCF channel binding.
See also
Applies to
WebProxyClient<TService>(Uri, TimeSpan, Assembly)
Initializes a new instance of the WebProxyClient<TService> class using an Organization service URL, a time span, and an assembly.
protected:
WebProxyClient(Uri ^ serviceUrl, TimeSpan timeout, System::Reflection::Assembly ^ strongTypeAssembly);
protected WebProxyClient (Uri serviceUrl, TimeSpan timeout, System.Reflection.Assembly strongTypeAssembly);
new Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<'Service (requires 'Service : null)> : Uri * TimeSpan * System.Reflection.Assembly -> Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<'Service (requires 'Service : null)>
Protected Sub New (serviceUrl As Uri, timeout As TimeSpan, strongTypeAssembly As Assembly)
Parameters
- serviceUrl
- Uri
The URL of the Organization 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.
- strongTypeAssembly
- Assembly
An assembly containing early-bound types.
Remarks
The URL must contain the SDK client version. The client version is set to the version of the SDK assemblies that the client application was linked to. For example:
https://myorg.crm.dynamics.com/XRMServices/2011/Organization.svc/web?SdkClientVersion=7.0.0.0
The timeout is passed to the SendTimeout, ReceiveTimeout, and OpenTimeout properties on the WCF channel binding.