แชร์ผ่าน


Io.status Method

Definition

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

public:
 virtual Dynamics::AX::Application::IO_Status status();
public virtual Dynamics.AX.Application.IO_Status status ();
abstract member status : unit -> Dynamics.AX.Application.IO_Status
override this.status : unit -> Dynamics.AX.Application.IO_Status
Public Overridable Function status () As IO_Status

Returns

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

Remarks

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

The following example demonstrates the status method.

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 
    } 
}

Applies to