VsValidationContext Oluşturucu (array<String , 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 ( _
customCategories As String(), _
subjects As IEnumerable(Of ModelElement), _
serviceProvider As IServiceProvider, _
modelExplorerToolWindowType As Type _
)
public VsValidationContext(
string[] customCategories,
IEnumerable<ModelElement> subjects,
IServiceProvider serviceProvider,
Type modelExplorerToolWindowType
)
Parametreler
- customCategories
Tür: array<System.String[]
Özel belirtilen dize listesi.Bu doğrulama yöntemi ile onaylanmasına izin verilen dize verir.
- 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.