Classe DiscoveryWebProxyClient
Si applica a: CRM 2015 on-prem, CRM Online
Implements IDiscoveryService and provides an authenticated connection to the Discovery.svc/web endpoint. This /web endpoint is also used by web resources.
Spazio dei nomi: Microsoft.Xrm.Sdk.WebServiceClient
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Sintassi
'Dichiarazione
<SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification:="This class need to be instantiated by clients and be able to derive from it.")> _
Public Class DiscoveryWebProxyClient
Inherits WebProxyClient(Of IDiscoveryService)
Implements IDiscoveryService
[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
Note
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.
Gerarchia ereditarietà
System.Object
System.ServiceModel.ClientBase
Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient
Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient
Thread Safety
Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.
Piattaforme
Piattaforme di sviluppo
Windows Vista, Windows Server 2003 e
Piattaforme di destinazione
Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smartphone,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP
Vedere anche
Riferimento
Membri DiscoveryWebProxyClient
Spazio dei nomi Microsoft.Xrm.Sdk.WebServiceClient
Altre risorse
Discover the URL for Your Organization With IDiscoveryService Web Service
Authenticate the user with the web services
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.