ExcludedLocationOperation
Contains the methods for determining whether the excluded location was successfully added.
Methods
Method Name | Return Type | Description |
---|---|---|
getErrors | string[] | Gets the errors that occurred when adding the excluded location. |
getResult | ExcludedLocation | Gets the excluded location that was added. |
isSuccessful | Boolean | Gets a Boolean value that indicates whether this operation succeeded. |
getErrors
Gets the errors that occurred when adding the excluded location.
Returns
Type | Description |
---|---|
string[] | An array of symbolic error codes if the add operation failed; otherwise, an empty array. For a description of these codes, see Operation error codes. |
getResult
Gets the excluded location that was added.
Returns
Type | Description |
---|---|
ExcludedLocation | The excluded location that was added if the operation succeeded; otherwise, null. |
isSuccessful
Gets a Boolean value that indicates whether this operation succeeded.
Returns
Type | Description |
---|---|
Boolean | Is true if this operation succeeded; otherwise, false. |