ClientCallableTypeAttribute 类
公开类、 结构、 枚举或向客户端的界面。
继承层次结构
System.Object
System.Attribute
Microsoft.SharePoint.Client.ClientCallableAttribute
Microsoft.SharePoint.Client.ClientCallableTypeAttribute
Microsoft.SharePoint.Client.ClientCallableMetadataTypeAttribute
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.ServerRuntime(位于 Microsoft.SharePoint.Client.ServerRuntime.dll 中)
语法
声明
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Struct Or AttributeTargets.Enum Or AttributeTargets.Interface, AllowMultiple := False)> _
Public Class ClientCallableTypeAttribute _
Inherits ClientCallableAttribute
用法
Dim instance As ClientCallableTypeAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Interface, AllowMultiple = false)]
public class ClientCallableTypeAttribute : ClientCallableAttribute
备注
当ClientCallableTypeAttribute属性应用于类、 结构或界面时, ClientCallableAttribute还需要应用来公开类型的成员。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。