AutomationRemoteOperationResult.ErrorLocation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property int ErrorLocation { int get(); };
int ErrorLocation();
public int ErrorLocation { get; }
var int32 = automationRemoteOperationResult.errorLocation;
Public ReadOnly Property ErrorLocation As Integer
Property Value
int
Remarks
ErrorLocation specifies the number of the malformed instruction if the remote operation Status returns MalformedBytecode. For example, if the very first instruction contains an invalid opcode, this property returns a value of 0. If the first 5 instructions have valid opcodes and parameters, but the 6th one doesn’t, this property returns a value of 5.
For UnhandledException, this property returns the index of the instruction that raised the exception.
For InstructionLimitExceeded, this property returns the very next instruction to be executed after the limit.