ModelBusReference 建構函式 (IModelBus, String, String, String, ModelBusAdapterReference, ReferenceContext)
建構函式
命名空間: Microsoft.VisualStudio.Modeling.Integration
組件: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)
語法
'宣告
Public Sub New ( _
modelBus As IModelBus, _
logicalAdapterId As String, _
modelDisplayName As String, _
elementDisplayName As String, _
adapterReference As ModelBusAdapterReference, _
context As ReferenceContext _
)
public ModelBusReference(
IModelBus modelBus,
string logicalAdapterId,
string modelDisplayName,
string elementDisplayName,
ModelBusAdapterReference adapterReference,
ReferenceContext context
)
參數
- logicalAdapterId
類型:System.String
- modelDisplayName
類型:System.String
- elementDisplayName
類型:System.String
- adapterReference
類型:Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterReference
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。