public static enum PollResponse.OperationStatus extends Enum<PollResponse.OperationStatus>
SUCCESSFULLY_COMPLETED, USER_CANCELLED or FAILED.| Enum Constant and Description |
|---|
FAILED
Represents that this long-running operation has failed to successfully complete, however this is still
considered as complete long-running operation, meaning that the
Poller instance will report that it is complete. |
IN_PROGRESS
Represents that this long-running operation is in progress and not yet complete.
|
NOT_STARTED
Represents that polling has not yet started for this long-running operation.
|
OTHER
When long-running operation status could not be represented by any status in
PollResponse.OperationStatus, this status represents
a custom status Azure service could be in. |
SUCCESSFULLY_COMPLETED
Represent that this long-running operation is completed successfully.
|
USER_CANCELLED
Represents that this long-running operation is cancelled by user, however this is still
considered as complete long-running operation.
|
| Modifier and Type | Method and Description |
|---|---|
static PollResponse.OperationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollResponse.OperationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollResponse.OperationStatus NOT_STARTED
public static final PollResponse.OperationStatus IN_PROGRESS
public static final PollResponse.OperationStatus SUCCESSFULLY_COMPLETED
public static final PollResponse.OperationStatus FAILED
Poller instance will report that it is complete.public static final PollResponse.OperationStatus USER_CANCELLED
public static final PollResponse.OperationStatus OTHER
PollResponse.OperationStatus, this status represents
a custom status Azure service could be in. This custom status is not considered as complete long-running operation.
It must have valid value for otherStatus as String.public static PollResponse.OperationStatus[] values()
public static PollResponse.OperationStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019 Microsoft Corporation. All rights reserved.