Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Constructor.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
categories As ValidationCategories, _
subject As ModelElement, _
serviceProvider As IServiceProvider, _
modelExplorerToolWindowType As Type _
)
public VsValidationContext(
ValidationCategories categories,
ModelElement subject,
IServiceProvider serviceProvider,
Type modelExplorerToolWindowType
)
public:
VsValidationContext(
ValidationCategories categories,
ModelElement^ subject,
IServiceProvider^ serviceProvider,
Type^ modelExplorerToolWindowType
)
new :
categories:ValidationCategories *
subject:ModelElement *
serviceProvider:IServiceProvider *
modelExplorerToolWindowType:Type -> VsValidationContext
public function VsValidationContext(
categories : ValidationCategories,
subject : ModelElement,
serviceProvider : IServiceProvider,
modelExplorerToolWindowType : Type
)
Parameters
- categories
Type: Microsoft.VisualStudio.Modeling.Validation.ValidationCategories
subject
Type: Microsoft.VisualStudio.Modeling.ModelElementroot object to be validated
- serviceProvider
Type: IServiceProvider
- modelExplorerToolWindowType
Type: 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.