ClientCallableMethodAttribute クラス

クライアント呼び出しとしてメソッドを公開します。

継承階層

System.Object
  System.Attribute
    Microsoft.SharePoint.Client.ClientCallableAttribute
      Microsoft.SharePoint.Client.ClientCallableMemberAttribute
        Microsoft.SharePoint.Client.ClientCallableMethodAttribute

名前空間:  Microsoft.SharePoint.Client
アセンブリ:  Microsoft.SharePoint.Client.ServerRuntime (Microsoft.SharePoint.Client.ServerRuntime.dll 内)

構文

'宣言
<AttributeUsageAttribute(AttributeTargets.Constructor Or AttributeTargets.Method, AllowMultiple := False)> _
Public Class ClientCallableMethodAttribute _
    Inherits ClientCallableMemberAttribute
'使用
Dim instance As ClientCallableMethodAttribute
[AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method, AllowMultiple = false)]
public class ClientCallableMethodAttribute : ClientCallableMemberAttribute

注釈

方法をカスタマイズする必要がない場合、は、 ClientCallableAttribute()コンスを使用します。それ以外の場合、 ClientCallableMethodAttribute()コンスを使用します。

スレッド セーフ

この型のパブリック static (Visual Basic のShared ) メンバーはいずれもスレッド セーフです。インスタンス メンバーはスレッド セーフになるという保証はありません。

関連項目

参照先

ClientCallableMethodAttribute メンバー

Microsoft.SharePoint.Client 名前空間