Udostępnij za pośrednictwem


ProtectedOperation Constructors

Definition

Overloads

ProtectedOperation()
Obsolete.

Initializes a new instance of the ProtectedOperation class.

ProtectedOperation(String)

Initializes a new instance of the ProtectedOperation class.

ProtectedOperation(String, Int32)

Initializes a new instance of the ProtectedOperation class.

ProtectedOperation()

Caution

Use a constructor that initializes the properties instead.

Initializes a new instance of the ProtectedOperation class.

public:
 ProtectedOperation();
[System.Obsolete("Use a constructor that initializes the properties instead.")]
public ProtectedOperation ();
Public Sub New ()
Attributes

Applies to

ProtectedOperation(String)

Initializes a new instance of the ProtectedOperation class.

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)

Parameters

operationMoniker
String

the kind of operation to be performed.

Applies to

ProtectedOperation(String, Int32)

Initializes a new instance of the ProtectedOperation class.

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)

Parameters

operationMoniker
String

the kind of operation to be performed.

requiredTrustLevel
Int32

the trust level required for the operation.

Applies to