ModuleServiceMethodAttribute 类

定义

将 对象上 ModuleService 的方法标记为客户端可以直接调用。

public ref class ModuleServiceMethodAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class ModuleServiceMethodAttribute : Attribute
type ModuleServiceMethodAttribute = class
    inherit Attribute
Public NotInheritable Class ModuleServiceMethodAttribute
Inherits Attribute
继承
ModuleServiceMethodAttribute
属性

构造函数

ModuleServiceMethodAttribute()

初始化 ModuleServiceMethodAttribute 类的新实例。

属性

PassThrough

获取或设置一个值,该值指示模块服务方法是否可由客户端直接调用。

适用于