Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether a specific operation is supported by the provider in the current environment.
Namespace:  Microsoft.VisualStudio.Data.Core
Assembly:  Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)
Syntax
'Declaration
Function IsOperationSupported ( _
    command As CommandID, _
    context As Object _
) As Boolean
bool IsOperationSupported(
    CommandID command,
    Object context
)
bool IsOperationSupported(
    CommandID^ command, 
    Object^ context
)
abstract IsOperationSupported : 
        command:CommandID * 
        context:Object -> bool
function IsOperationSupported(
    command : CommandID, 
    context : Object
) : boolean
Parameters
- command 
 Type: System.ComponentModel.Design.CommandID- A command that identifies the operation. 
- context 
 Type: System.Object- An object that represents the context in which the operation exists. 
Return Value
Type: System.Boolean
true if the operation is supported by the provider in the current environment; otherwise, false.
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentNullException | The command parameter is nulla null reference (Nothing in Visual Basic). | 
| [<ANY>] | The DDEX provider's IsOperationSupported implementation threw an exception. | 
Remarks
This method delegates to the IsOperationSupported method, passing Empty as the value of the source parameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.