Compartir a través de


ContextRuleMetadata Constructor

Definition

Initializes a new instance of the ContextRuleMetadata class.

public:
 ContextRuleMetadata(System::String ^ identifier, System::String ^ expression, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ terms);
public ContextRuleMetadata (string identifier, string expression, System.Collections.Generic.IReadOnlyDictionary<string,string> terms);
new Microsoft.VisualStudio.RpcContracts.ContextRuleMonitor.ContextRuleMetadata : string * string * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Microsoft.VisualStudio.RpcContracts.ContextRuleMonitor.ContextRuleMetadata
Public Sub New (identifier As String, expression As String, terms As IReadOnlyDictionary(Of String, String))

Parameters

identifier
String

A unique identifier for this rule.

expression
String

A string specifying how the terms should be combined.

terms
IReadOnlyDictionary<String,String>

The set of terms, keyed by their representation in the expression.

Applies to