Share via


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)

Syntax

public ModelBusAdapter CreateAdapter(
    ModelBusReference reference
)
public:
virtual ModelBusAdapter^ CreateAdapter(
    ModelBusReference^ reference
) sealed
abstract CreateAdapter : 
        reference:ModelBusReference -> ModelBusAdapter
override CreateAdapter : 
        reference:ModelBusReference -> ModelBusAdapter
Public Function CreateAdapter (
    reference As ModelBusReference
) As ModelBusAdapter

Parameters

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)

Remarks

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

See Also

CreateAdapter Overload
ModelBus Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top