ModelBus Constructor
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
声明
Public Sub New ( _
serviceProvider As IServiceProvider, _
errorCallback As Action, _
configuration As Boolean _
)
public ModelBus(
IServiceProvider serviceProvider,
Action errorCallback,
bool configuration
)
public:
ModelBus(
IServiceProvider^ serviceProvider,
Action^ errorCallback,
bool configuration
)
new :
serviceProvider:IServiceProvider *
errorCallback:Action *
configuration:bool -> ModelBus
public function ModelBus(
serviceProvider : IServiceProvider,
errorCallback : Action,
configuration : boolean
)
Parameters
- serviceProvider
Type: System.IServiceProvider
- errorCallback
Type: System.Action<T1, T2>
- configuration
Type: System.Boolean
.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.