ModelBus.CreateAdapter Method (ModelBusReference)

Implements CreateAdapter method

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

public ModelBusAdapter CreateAdapter(
	ModelBusReference reference
)

Parameters

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

The reference to the adapter

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapter
The adapter that was created, or null if one could not be created

Implements

IModelBus.CreateAdapter(ModelBusReference)

If the returned ModelBusAdapter is <c>null</c> or an exception is thrown, the LastStatusreference.LastStatus property of the </w:t></w:r><w:r><w:rPr><w:rStyle w:val="ParameterReference"/></w:rPr><w:t>reference</w:t></w:r><w:r><w:t> can provide hints about the reason of the failure

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft