Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructor.
Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
    categories As ValidationCategories, _
    subjects As IEnumerable(Of ModelElement), _
    serviceProvider As IServiceProvider, _
    modelExplorerToolWindowType As Type _
)
public VsValidationContext(
    ValidationCategories categories,
    IEnumerable<ModelElement> subjects,
    IServiceProvider serviceProvider,
    Type modelExplorerToolWindowType
)
public:
VsValidationContext(
    ValidationCategories categories, 
    IEnumerable<ModelElement^>^ subjects, 
    IServiceProvider^ serviceProvider, 
    Type^ modelExplorerToolWindowType
)
new : 
        categories:ValidationCategories * 
        subjects:IEnumerable<ModelElement> * 
        serviceProvider:IServiceProvider * 
        modelExplorerToolWindowType:Type -> VsValidationContext
public function VsValidationContext(
    categories : ValidationCategories, 
    subjects : IEnumerable<ModelElement>, 
    serviceProvider : IServiceProvider, 
    modelExplorerToolWindowType : Type
)
Parameters
- categories
 Type: Microsoft.VisualStudio.Modeling.Validation.ValidationCategories
- subjects 
 Type: System.Collections.Generic.IEnumerable<ModelElement>- object to be validated 
- serviceProvider
 Type: System.IServiceProvider
- modelExplorerToolWindowType
 Type: System.Type
.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.