The Policy type exposes the following members.

Constructors

  NameDescription
Public methodPolicy
Creates a new instance of the Policy class.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyBehaviors
The list of behaviors to perform when conditions are satisfied.
Public propertyConditions
The list of conditions that must be satisfied in order to perform behaviors.
Public propertyEnabled
Specifies whether the system will include this policy when evaluating the policy set.
Public propertyEvaluationMode
Determines the extent of policy conditions that must be satisfied in order to perform behaviors.
Public propertyId
The ID of this policy.
Public propertyIndex
The policy's number in the order of policies contained in the policy set.
Public propertyPolicyType
Determines at what point in the call the policy will be evaluated.

See Also