ModelBusAdapterManager::TryCreateReference Method (ModelBusReference^, array<Object^>^)

 

The ModelBusAdapterManager will attempt to create a model bus reference to a model from the supplied information.

Namespace:   Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)

public:
bool TryCreateReference(
	[OutAttribute] ModelBusReference^% reference,
	... array<Object^>^ modelLocatorInfo
)

Parameters

reference
Type: Microsoft.VisualStudio.Modeling.Integration::ModelBusReference^

Reference to an model if successful, null otherwise.

modelLocatorInfo
Type: array<System::Object^>^

ReferenceContext provided to describe the desired model.

Return Value

Type: System::Boolean

A flag indicating success or failure

This method will not throw an exception if a model bus reference could not be created.

Return to top
Show: