Share via


Policy Constructors

Definition

Overloads

Policy(String)
Policy(String, PolicyFetchErrorHandler)
Policy(String, Int32, Int32)
Policy(String, Int32, Int32, PolicyFetchErrorHandler)

Policy(String)

public:
 Policy(System::String ^ policyName);
public Policy (string policyName);
new Microsoft.RuleEngine.Policy : string -> Microsoft.RuleEngine.Policy
Public Sub New (policyName As String)

Parameters

policyName
String

Applies to

Policy(String, PolicyFetchErrorHandler)

public:
 Policy(System::String ^ policyName, Microsoft::RuleEngine::PolicyFetchErrorHandler ^ handleExceptions);
public Policy (string policyName, Microsoft.RuleEngine.PolicyFetchErrorHandler handleExceptions);
new Microsoft.RuleEngine.Policy : string * Microsoft.RuleEngine.PolicyFetchErrorHandler -> Microsoft.RuleEngine.Policy
Public Sub New (policyName As String, handleExceptions As PolicyFetchErrorHandler)

Parameters

policyName
String
handleExceptions
PolicyFetchErrorHandler

Applies to

Policy(String, Int32, Int32)

public:
 Policy(System::String ^ policyName, int majorRevision, int minorRevision);
public Policy (string policyName, int majorRevision, int minorRevision);
new Microsoft.RuleEngine.Policy : string * int * int -> Microsoft.RuleEngine.Policy
Public Sub New (policyName As String, majorRevision As Integer, minorRevision As Integer)

Parameters

policyName
String
majorRevision
Int32
minorRevision
Int32

Applies to

Policy(String, Int32, Int32, PolicyFetchErrorHandler)

public:
 Policy(System::String ^ policyName, int majorRevision, int minorRevision, Microsoft::RuleEngine::PolicyFetchErrorHandler ^ handleExceptions);
public Policy (string policyName, int majorRevision, int minorRevision, Microsoft.RuleEngine.PolicyFetchErrorHandler handleExceptions);
new Microsoft.RuleEngine.Policy : string * int * int * Microsoft.RuleEngine.PolicyFetchErrorHandler -> Microsoft.RuleEngine.Policy
Public Sub New (policyName As String, majorRevision As Integer, minorRevision As Integer, handleExceptions As PolicyFetchErrorHandler)

Parameters

policyName
String
majorRevision
Int32
minorRevision
Int32
handleExceptions
PolicyFetchErrorHandler

Applies to