Partager via


VsValidationContext Constructor (ValidationCategories, ModelElement, IServiceProvider)

Constructor.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Déclaration
Public Sub New ( _
    categories As ValidationCategories, _
    subject As ModelElement, _
    serviceProvider As IServiceProvider _
)
public VsValidationContext(
    ValidationCategories categories,
    ModelElement subject,
    IServiceProvider serviceProvider
)
public:
VsValidationContext(
    ValidationCategories categories, 
    ModelElement^ subject, 
    IServiceProvider^ serviceProvider
)
new : 
        categories:ValidationCategories * 
        subject:ModelElement * 
        serviceProvider:IServiceProvider -> VsValidationContext
public function VsValidationContext(
    categories : ValidationCategories, 
    subject : ModelElement, 
    serviceProvider : IServiceProvider
)

Parameters

.NET Framework Security

See Also

Reference

VsValidationContext Class

VsValidationContext Overload

Microsoft.VisualStudio.Modeling.Shell Namespace