ProtectedOperation 构造函数

定义

重载

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

操作所需的信任级别。

适用于