WasmExceptionReference Class

An exception of WebAssembly (an exception address). The store returns the same object for the same exception.

public abstract class WasmExceptionReference

Properties

NameDescription
ArgumentCountGets the number of values of the payload.
TagGets the tag of the exception.

ArgumentCount

Gets the number of values of the payload.

public abstract int ArgumentCount { get; }

Property value

int

Tag

Gets the tag of the exception.

public abstract WasmTag Tag { get; }

Property value

WasmTag

Methods

NameDescription
GetArgument(int)Returns a value of the payload.

GetArgument(int)

Returns a value of the payload.

public abstract WasmValue GetArgument(int index)

Parameters

index int

Returns

WasmValue