Partilhar via


IVsDataProviderDynamicSupport.GetUnsupportedReason Method

Definition

Gets a localized string describing the reason an operation is not supported, for the specified DDEX data source.

public:
 System::String ^ GetUnsupportedReason(Guid source, System::ComponentModel::Design::CommandID ^ command, System::Object ^ context);
public string GetUnsupportedReason (Guid source, System.ComponentModel.Design.CommandID command, object context);
abstract member GetUnsupportedReason : Guid * System.ComponentModel.Design.CommandID * obj -> string
Public Function GetUnsupportedReason (source As Guid, command As CommandID, context As Object) As String

Parameters

source
Guid

A DDEX data source identifier.

command
CommandID

A command identifying the operation.

context
Object

An object representing the context in which the operation exists.

Returns

A localized string describing why the specified operation is not supported, if the operation is in fact not supported; otherwise, null.

Exceptions

The command parameter is null.

The context parameter is not an expected value for the specified operation.

Applies to