跳到主要内容

StartAction

Specifies the start action for long operations.

Syntax

expression.StartAction(type, description);

expression - A variable that represents a Api class.

Parameters

NameRequired/OptionalData typeDefaultDescription
typeRequirednumberA value which defines an action type which can take 0 if this is an Information action or 1 if this is a BlockInteraction action.
descriptionRequiredstringA string value that specifies the description text for the start action of the operation.

Returns

This method doesn't return any data.