DiscoveryServiceProxy クラス

適用対象: CRM 2015 on-prem, CRM Online

Implements IDiscoveryService and provides an authenticated WCF channel to the discovery service endpoint.

名前空間: Microsoft.Xrm.Sdk.Client
アセンブリ: Microsoft.Xrm.Sdk (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 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

備考

You can make SDK calls using the IDiscoveryService interface by casting the proxy instance to a IDiscoveryService type.

重要

This class is not thread safe. Microsoft Dynamics CRM Online authentication using the Microsoft Online Services 環境 identity provider, including Microsoft Office 365, is supported.

継承階層

System.Object
   Microsoft.Xrm.Sdk.Client.ServiceProxy
    Microsoft.Xrm.Sdk.Client.DiscoveryServiceProxy

スレッド セーフ

この種類のパブリックな静的 (Visual Basic では Shared) メンバーはスレッド セーフです。インスタンス メンバーがスレッド セーフであることは保証されません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows Server 2003、および

対象プラットフォーム

Windows Vista、Windows XP

Change History

関連項目

参照

DiscoveryServiceProxy のメンバー
Microsoft.Xrm.Sdk.Client 名前空間

他のリソース

Sample: Access the Discovery Service
Helper Code: ServerConnection Class

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.