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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll)
Syntax
protected virtual void CheckCanCreateAdapter(
ModelBusReference reference
)
protected:
virtual void CheckCanCreateAdapter(
ModelBusReference^ reference
)
abstract CheckCanCreateAdapter :
reference:ModelBusReference -> unit
override CheckCanCreateAdapter :
reference:ModelBusReference -> unit
Protected Overridable Sub CheckCanCreateAdapter (
reference As ModelBusReference
)
Parameters
reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReferenceReference to be checked.
Return Value
See Also
VsModelingAdapterManager Class
Microsoft.VisualStudio.Modeling.Integration.Shell Namespace
Return to top