ClientCallableAttribute 类

公开为客户端调用属性。

继承层次结构

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

命名空间:  Microsoft.SharePoint.Client
程序集:  Microsoft.SharePoint.Client.ServerRuntime(位于 Microsoft.SharePoint.Client.ServerRuntime.dll 中)

语法

声明
<AttributeUsageAttribute(AttributeTargets.Constructor Or AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Field, AllowMultiple := False)> _
Public Class ClientCallableAttribute _
    Inherits Attribute
用法
Dim instance As ClientCallableAttribute
[AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
public class ClientCallableAttribute : Attribute

备注

备注

此ClientCallableAttribute定义是不同于 %sts%\proxygen\clientcallableattribute 中定义。

在服务器库中, ClientCallableAttribute定义为层次结构。%Sts%\proxygen\ClientCallableAttribute 保持不变。

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

ClientCallableAttribute 成员

Microsoft.SharePoint.Client 命名空间