Io.status Method [AX 2012]

Retrieves the status of the last operation performed on the Io object.

public IO_Status status()

Run On

Called

Return Value

Type: IO_Status Enumeration
The status of the last operation, as an IO_Status system enumeration value.

The range of possible IO_Status values returned varies among Io Classes.

static void myExample(Args _args) 
{ 
    Io myIo; 
 
    //.. create io object and perform some operations 
    if (myIo.status()==IO_Status::OK) 
    { 
        // ...go ahead - last operation was successful 
    } 
}

Community Additions

ADD
Show: