Share via


CoreAutomationRemoteOperation.IsOpcodeSupported(UInt32) Method

Definition

Retrieves a value that indicates whether the specified opcode is supported by the CoreAutomationRemoteOperation virtual machine.

public:
 virtual bool IsOpcodeSupported(unsigned int opcode) = IsOpcodeSupported;
bool IsOpcodeSupported(uint32_t const& opcode);
public bool IsOpcodeSupported(uint opcode);
function isOpcodeSupported(opcode)
Public Function IsOpcodeSupported (opcode As UInteger) As Boolean

Parameters

opcode
UInt32

unsigned int

uint32_t

The opcode being tested.

Returns

Boolean

bool

Remarks

Passing unsupported opcodes in the bytecode to the Execute) method results in a AutomationRemoteOperationResult.Status of MalformedByteCode.

Note

As the Remote Operations virtual machine is found in the provider process, support for an instruction depends on the provider process that executes the remote operation. Therefore, call this method after the operation is bound to a process through ImportElement or ImportTextRange.

Applies to