OrganizationWebProxyClient 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
OrganizationWebProxyClient(Uri, Boolean) |
Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL. |
OrganizationWebProxyClient(Uri, Assembly) |
Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL and an assembly. |
OrganizationWebProxyClient(Uri, TimeSpan, Boolean) |
Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL and time span. |
OrganizationWebProxyClient(Uri, TimeSpan, Assembly) |
Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL, a time span, and an assembly. |
OrganizationWebProxyClient(Uri, Boolean)
Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL.
public:
OrganizationWebProxyClient(Uri ^ serviceUrl, bool useStrongTypes);
public OrganizationWebProxyClient (Uri serviceUrl, bool useStrongTypes);
new Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient : Uri * bool -> Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient
Public 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
OrganizationWebProxyClient(Uri, Assembly)
Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL and an assembly.
public:
OrganizationWebProxyClient(Uri ^ serviceUrl, System::Reflection::Assembly ^ strongTypeAssembly);
public OrganizationWebProxyClient (Uri serviceUrl, System.Reflection.Assembly strongTypeAssembly);
new Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient : Uri * System.Reflection.Assembly -> Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient
Public 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
OrganizationWebProxyClient(Uri, TimeSpan, Boolean)
Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL and time span.
public:
OrganizationWebProxyClient(Uri ^ serviceUrl, TimeSpan timeout, bool useStrongTypes);
public OrganizationWebProxyClient (Uri serviceUrl, TimeSpan timeout, bool useStrongTypes);
new Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient : Uri * TimeSpan * bool -> Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient
Public 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
See also
Applies to
OrganizationWebProxyClient(Uri, TimeSpan, Assembly)
Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL, a time span, and an assembly.
public:
OrganizationWebProxyClient(Uri ^ uri, TimeSpan timeout, System::Reflection::Assembly ^ strongTypeAssembly);
public OrganizationWebProxyClient (Uri uri, TimeSpan timeout, System.Reflection.Assembly strongTypeAssembly);
new Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient : Uri * TimeSpan * System.Reflection.Assembly -> Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient
Public Sub New (uri As Uri, timeout As TimeSpan, strongTypeAssembly As Assembly)
Parameters
- uri
- 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