ProtectedOperation 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| ProtectedOperation() |
已过时。
初始化 ProtectedOperation 类的新实例。 |
| ProtectedOperation(String) |
初始化 ProtectedOperation 类的新实例。 |
| ProtectedOperation(String, Int32) |
初始化 ProtectedOperation 类的新实例。 |
ProtectedOperation()
注意
Use a constructor that initializes the properties instead.
初始化 ProtectedOperation 类的新实例。
public:
ProtectedOperation();
[System.Obsolete("Use a constructor that initializes the properties instead.")]
public ProtectedOperation ();
Public Sub New ()
- 属性
适用于
ProtectedOperation(String)
初始化 ProtectedOperation 类的新实例。
public:
ProtectedOperation(System::String ^ operationMoniker);
public ProtectedOperation (string operationMoniker);
new Microsoft.ServiceHub.Framework.Services.ProtectedOperation : string -> Microsoft.ServiceHub.Framework.Services.ProtectedOperation
Public Sub New (operationMoniker As String)
参数
- operationMoniker
- String
要执行的操作的类型。
适用于
ProtectedOperation(String, Int32)
初始化 ProtectedOperation 类的新实例。
public:
ProtectedOperation(System::String ^ operationMoniker, int requiredTrustLevel);
public ProtectedOperation (string operationMoniker, int requiredTrustLevel);
new Microsoft.ServiceHub.Framework.Services.ProtectedOperation : string * int -> Microsoft.ServiceHub.Framework.Services.ProtectedOperation
Public Sub New (operationMoniker As String, requiredTrustLevel As Integer)
参数
- operationMoniker
- String
要执行的操作的类型。
- requiredTrustLevel
- Int32
操作所需的信任级别。