Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Sub New ( _
provider As IServiceProvider _
)
'使用
Dim provider As IServiceProvider
Dim instance As New ValidationTaskProvider(provider)
public ValidationTaskProvider(
IServiceProvider provider
)
public:
ValidationTaskProvider(
IServiceProvider^ provider
)
public function ValidationTaskProvider(
provider : IServiceProvider
)
Parameters
- provider
Type: System.IServiceProvider
Permissions
- 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.