ProtectedOperation Class

Definition

Describes an operation that requires an authorization check.

public ref class ProtectedOperation : IEquatable<Microsoft::ServiceHub::Framework::Services::ProtectedOperation ^>
public class ProtectedOperation : IEquatable<Microsoft.ServiceHub.Framework.Services.ProtectedOperation>
type ProtectedOperation = class
    interface IEquatable<ProtectedOperation>
Public Class ProtectedOperation
Implements IEquatable(Of ProtectedOperation)
Inheritance
ProtectedOperation
Implements

Constructors

ProtectedOperation()
Obsolete.

Initializes a new instance of the ProtectedOperation class.

ProtectedOperation(String, Int32)

Initializes a new instance of the ProtectedOperation class.

ProtectedOperation(String)

Initializes a new instance of the ProtectedOperation class.

Properties

OperationMoniker

Gets or sets the kind of operation to be performed.

RequiredTrustLevel

Gets or sets the trust level required for the operation.

Methods

Equals(Object)
Equals(ProtectedOperation)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.

IsSupersetOf(ProtectedOperation)

Gets a value indicating whether this ProtectedOperation, if granted, implies another ProtectedOperation should also be considered granted.

Applies to

See also