VsValidationContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
VsValidationContext(ValidationCategories, ModelElement, IServiceProvider)
Constructor.
public:
VsValidationContext(Microsoft::VisualStudio::Modeling::Validation::ValidationCategories categories, Microsoft::VisualStudio::Modeling::ModelElement ^ subject, IServiceProvider ^ serviceProvider);
public VsValidationContext (Microsoft.VisualStudio.Modeling.Validation.ValidationCategories categories, Microsoft.VisualStudio.Modeling.ModelElement subject, IServiceProvider serviceProvider);
new Microsoft.VisualStudio.Modeling.Shell.VsValidationContext : Microsoft.VisualStudio.Modeling.Validation.ValidationCategories * Microsoft.VisualStudio.Modeling.ModelElement * IServiceProvider -> Microsoft.VisualStudio.Modeling.Shell.VsValidationContext
Public Sub New (categories As ValidationCategories, subject As ModelElement, serviceProvider As IServiceProvider)
Parameters
- categories
- ValidationCategories
- subject
- ModelElement
root object to be validated
- serviceProvider
- IServiceProvider
Applies to
VsValidationContext(ValidationCategories, IEnumerable<ModelElement>, IServiceProvider)
Constructor.
public:
VsValidationContext(Microsoft::VisualStudio::Modeling::Validation::ValidationCategories categories, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ subjects, IServiceProvider ^ serviceProvider);
public VsValidationContext (Microsoft.VisualStudio.Modeling.Validation.ValidationCategories categories, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> subjects, IServiceProvider serviceProvider);
new Microsoft.VisualStudio.Modeling.Shell.VsValidationContext : Microsoft.VisualStudio.Modeling.Validation.ValidationCategories * seq<Microsoft.VisualStudio.Modeling.ModelElement> * IServiceProvider -> Microsoft.VisualStudio.Modeling.Shell.VsValidationContext
Public Sub New (categories As ValidationCategories, subjects As IEnumerable(Of ModelElement), serviceProvider As IServiceProvider)
Parameters
- categories
- ValidationCategories
- subjects
- IEnumerable<ModelElement>
object to be validated
- serviceProvider
- IServiceProvider
Applies to
VsValidationContext(String[], ModelElement, IServiceProvider)
Constructor.
public:
VsValidationContext(cli::array <System::String ^> ^ customCategories, Microsoft::VisualStudio::Modeling::ModelElement ^ subject, IServiceProvider ^ serviceProvider);
public VsValidationContext (string[] customCategories, Microsoft.VisualStudio.Modeling.ModelElement subject, IServiceProvider serviceProvider);
new Microsoft.VisualStudio.Modeling.Shell.VsValidationContext : string[] * Microsoft.VisualStudio.Modeling.ModelElement * IServiceProvider -> Microsoft.VisualStudio.Modeling.Shell.VsValidationContext
Public Sub New (customCategories As String(), subject As ModelElement, serviceProvider As IServiceProvider)
Parameters
- customCategories
- String[]
A list of custom specified string. This allows the validation method with the given string to be validated.
- subject
- ModelElement
root object to be validated
- serviceProvider
- IServiceProvider
Applies to
VsValidationContext(String[], IEnumerable<ModelElement>, IServiceProvider)
Constructor.
public:
VsValidationContext(cli::array <System::String ^> ^ customCategories, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ subjects, IServiceProvider ^ serviceProvider);
public VsValidationContext (string[] customCategories, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> subjects, IServiceProvider serviceProvider);
new Microsoft.VisualStudio.Modeling.Shell.VsValidationContext : string[] * seq<Microsoft.VisualStudio.Modeling.ModelElement> * IServiceProvider -> Microsoft.VisualStudio.Modeling.Shell.VsValidationContext
Public Sub New (customCategories As String(), subjects As IEnumerable(Of ModelElement), serviceProvider As IServiceProvider)
Parameters
- customCategories
- String[]
A list of custom specified string. This allows the validation method with the given string to be validated.
- subjects
- IEnumerable<ModelElement>
object to be validated
- serviceProvider
- IServiceProvider
Applies to
VsValidationContext(ValidationCategories, ModelElement, IServiceProvider, Type)
Constructor.
public:
VsValidationContext(Microsoft::VisualStudio::Modeling::Validation::ValidationCategories categories, Microsoft::VisualStudio::Modeling::ModelElement ^ subject, IServiceProvider ^ serviceProvider, Type ^ modelExplorerToolWindowType);
public VsValidationContext (Microsoft.VisualStudio.Modeling.Validation.ValidationCategories categories, Microsoft.VisualStudio.Modeling.ModelElement subject, IServiceProvider serviceProvider, Type modelExplorerToolWindowType);
new Microsoft.VisualStudio.Modeling.Shell.VsValidationContext : Microsoft.VisualStudio.Modeling.Validation.ValidationCategories * Microsoft.VisualStudio.Modeling.ModelElement * IServiceProvider * Type -> Microsoft.VisualStudio.Modeling.Shell.VsValidationContext
Public Sub New (categories As ValidationCategories, subject As ModelElement, serviceProvider As IServiceProvider, modelExplorerToolWindowType As Type)
Parameters
- categories
- ValidationCategories
- subject
- ModelElement
root object to be validated
- serviceProvider
- IServiceProvider
- modelExplorerToolWindowType
- Type
Applies to
VsValidationContext(ValidationCategories, IEnumerable<ModelElement>, IServiceProvider, Type)
Constructor.
public:
VsValidationContext(Microsoft::VisualStudio::Modeling::Validation::ValidationCategories categories, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ subjects, IServiceProvider ^ serviceProvider, Type ^ modelExplorerToolWindowType);
public VsValidationContext (Microsoft.VisualStudio.Modeling.Validation.ValidationCategories categories, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> subjects, IServiceProvider serviceProvider, Type modelExplorerToolWindowType);
new Microsoft.VisualStudio.Modeling.Shell.VsValidationContext : Microsoft.VisualStudio.Modeling.Validation.ValidationCategories * seq<Microsoft.VisualStudio.Modeling.ModelElement> * IServiceProvider * Type -> Microsoft.VisualStudio.Modeling.Shell.VsValidationContext
Public Sub New (categories As ValidationCategories, subjects As IEnumerable(Of ModelElement), serviceProvider As IServiceProvider, modelExplorerToolWindowType As Type)
Parameters
- categories
- ValidationCategories
- subjects
- IEnumerable<ModelElement>
object to be validated
- serviceProvider
- IServiceProvider
- modelExplorerToolWindowType
- Type
Applies to
VsValidationContext(String[], ModelElement, IServiceProvider, Type)
Constructor.
public:
VsValidationContext(cli::array <System::String ^> ^ customCategories, Microsoft::VisualStudio::Modeling::ModelElement ^ subject, IServiceProvider ^ serviceProvider, Type ^ modelExplorerToolWindowType);
public VsValidationContext (string[] customCategories, Microsoft.VisualStudio.Modeling.ModelElement subject, IServiceProvider serviceProvider, Type modelExplorerToolWindowType);
new Microsoft.VisualStudio.Modeling.Shell.VsValidationContext : string[] * Microsoft.VisualStudio.Modeling.ModelElement * IServiceProvider * Type -> Microsoft.VisualStudio.Modeling.Shell.VsValidationContext
Public Sub New (customCategories As String(), subject As ModelElement, serviceProvider As IServiceProvider, modelExplorerToolWindowType As Type)
Parameters
- customCategories
- String[]
A list of custom specified string. This allows the validation method with the given string to be validated.
- subject
- ModelElement
root object to be validated
- serviceProvider
- IServiceProvider
- modelExplorerToolWindowType
- Type
Applies to
VsValidationContext(String[], IEnumerable<ModelElement>, IServiceProvider, Type)
Constructor.
public:
VsValidationContext(cli::array <System::String ^> ^ customCategories, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ subjects, IServiceProvider ^ serviceProvider, Type ^ modelExplorerToolWindowType);
public VsValidationContext (string[] customCategories, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> subjects, IServiceProvider serviceProvider, Type modelExplorerToolWindowType);
new Microsoft.VisualStudio.Modeling.Shell.VsValidationContext : string[] * seq<Microsoft.VisualStudio.Modeling.ModelElement> * IServiceProvider * Type -> Microsoft.VisualStudio.Modeling.Shell.VsValidationContext
Public Sub New (customCategories As String(), subjects As IEnumerable(Of ModelElement), serviceProvider As IServiceProvider, modelExplorerToolWindowType As Type)
Parameters
- customCategories
- String[]
A list of custom specified string. This allows the validation method with the given string to be validated.
- subjects
- IEnumerable<ModelElement>
object to be validated
- serviceProvider
- IServiceProvider
- modelExplorerToolWindowType
- Type