ValidationContext Constructor (ValidationCategories, IEnumerable<ModelElement>)
Constructor
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
categories As ValidationCategories, _
subjects As IEnumerable(Of ModelElement) _
)
public ValidationContext(
ValidationCategories categories,
IEnumerable<ModelElement> subjects
)
public:
ValidationContext(
ValidationCategories categories,
IEnumerable<ModelElement^>^ subjects
)
new :
categories:ValidationCategories *
subjects:IEnumerable<ModelElement> -> ValidationContext
public function ValidationContext(
categories : ValidationCategories,
subjects : IEnumerable<ModelElement>
)
Parameters
- categories
Type: Microsoft.VisualStudio.Modeling.Validation.ValidationCategories
- subjects
Type: System.Collections.Generic.IEnumerable<ModelElement>
object to be validated
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.