Share via


VsModelingAdapterManager.CheckCanCreateAdapter Method

Checks if an ModelingAdapterReference can be successfully created from this ModelBusReference and also if the LogicalAdapterId is recognized by this ModelBusAdapterManager. This method should throw an appropriate exception if a ModelBusAdapter cannot potentially be created using this ModelBusReference.

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

Syntax

'Declaration
Protected Overridable Sub CheckCanCreateAdapter ( _
    reference As ModelBusReference _
)
protected virtual void CheckCanCreateAdapter(
    ModelBusReference reference
)
protected:
virtual void CheckCanCreateAdapter(
    ModelBusReference^ reference
)
abstract CheckCanCreateAdapter : 
        reference:ModelBusReference -> unit  
override CheckCanCreateAdapter : 
        reference:ModelBusReference -> unit
protected function CheckCanCreateAdapter(
    reference : ModelBusReference
)

Parameters

.NET Framework Security

See Also

Reference

VsModelingAdapterManager Class

Microsoft.VisualStudio.Modeling.Integration.Shell Namespace