DiscoveryWebProxyClient Kelas

Implements IDiscoveryService and provides an authenticated connection to the Discovery.svc/web endpoint. This /web endpoint is also used by web resources.

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

[SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification="This class need to be instantiated by clients and be able to derive from it.")] 
public class DiscoveryWebProxyClient : WebProxyClient<IDiscoveryService>, IDiscoveryService

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.


System.Object
   System.ServiceModel.ClientBase
     Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient
      Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient

Sebarang ahli statik awam (Shared dalam Visual Basic) jenis ini adalah selamat rentetan. Dalam apa jua keadaan, ahli tidak dijamin selamat rentetan.

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: