WebProxyClient Pembina (Uri, TimeSpan, Boolean)

Menetapkan keadaan baharu untuk WebProxyClient class using an Organization service URL and time span.

Ruang nama: Microsoft.Xrm.Sdk.WebServiceClient
Perhimpunan: Microsoft.Xrm.Sdk (dalam Microsoft.Xrm.Sdk.dll)

protected WebProxyClient (
	Uri serviceUrl,
	TimeSpan timeout,
	bool useStrongTypes
)

Parameter

serviceUrl

Type: URI. The URL of the Organization web service.

timeout

Type: 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

Type: Boolean. When true, use early-bound types; otherwise, false.

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.


Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows 98,Windows 2000,Pelayan Windows 2000,Windows CE,Windows Server 2008,Windows 98 Edisi Kedua,Pocket PC,Telefon Pintar,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.
Tunjukkan: