VsValidationContext Oluşturucu (ValidationCategories, IEnumerable<ModelElement>, IServiceProvider, Type)
Oluşturucu.
Ad alanı: Microsoft.VisualStudio.Modeling.Shell
Derleme: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll içinde)
Sözdizimi
'Bildirim
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
)
Parametreler
- categories
Tür: Microsoft.VisualStudio.Modeling.Validation.ValidationCategories
- subjects
Tür: System.Collections.Generic.IEnumerable<ModelElement>
Doğrulanacak nesne
- serviceProvider
Tür: System.IServiceProvider
- modelExplorerToolWindowType
Tür: System.Type
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.