OrganizationWebProxyClient クラス

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

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

名前空間: Microsoft.Xrm.Sdk.WebServiceClient
アセンブリ: 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 OrganizationWebProxyClient
    Inherits WebProxyClient(Of IOrganizationService)
    Implements IOrganizationService
[SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification="This class need to be instantiated by clients and be able to derive from it.")] 
public class OrganizationWebProxyClient : WebProxyClient<IOrganizationService>, IOrganizationService

備考

You must set the HeaderToken and SdkClientVersion property values before using the proxy object to make service calls.

To call the Organization web service using the IOrganizationService interface, cast the proxy instance to an IOrganizationService type.

継承階層

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

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

Windows Vista、Windows Server 2003、および

対象プラットフォーム

Windows 98、Windows 2000、Windows 2000 Server、Windows CE、Windows Server 2008、Windows 98 Second Edition、Pocket PC、スマート フォン、Windows Server 2003、Windows XP Professional、Windows Vista、Windows XP

関連項目

参照

OrganizationWebProxyClient のメンバー
Microsoft.Xrm.Sdk.WebServiceClient 名前空間

他のリソース

Use the IOrganizationService Web Service to Read and Write Data or Metadata
Authenticate the user with the web services

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