共用方式為


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

.NET Framework Security

See Also

Reference

ModelBus Class

Microsoft.VisualStudio.Modeling.Integration Namespace