Partilhar 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0.dll)

Syntax

'Declaração
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