Classe DiscoveryServiceProxy
Si applica a: CRM 2015 on-prem, CRM Online
Implements IDiscoveryService and provides an authenticated WCF channel to the discovery service endpoint.
Spazio dei nomi: Microsoft.Xrm.Sdk.Client
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 DiscoveryServiceProxy
Inherits ServiceProxy(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 DiscoveryServiceProxy : ServiceProxy<IDiscoveryService>, IDiscoveryService
Note
You can make SDK calls using the IDiscoveryService interface by casting the proxy instance to a IDiscoveryService type.
Importante
This class is not thread safe. Microsoft Dynamics CRM Online authentication using the Ambiente Microsoft Online Services identity provider, including Microsoft Office 365, is supported.
Gerarchia ereditarietà
System.Object
Microsoft.Xrm.Sdk.Client.ServiceProxy
Microsoft.Xrm.Sdk.Client.DiscoveryServiceProxy
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 Vista,Windows XP
Change History
Vedere anche
Riferimento
Membri DiscoveryServiceProxy
Spazio dei nomi Microsoft.Xrm.Sdk.Client
Altre risorse
Sample: Access the Discovery Service
Helper Code: ServerConnection Class
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.