ErrorCode enumeration
Defines the error codes that can be returned by the ErrorCode property.
Syntax
public enum class ErrorCode
Members
The ErrorCode enumeration has these members.
| Member | Value | Description |
|---|---|---|
| Unknown | unknown | 0 |
An exception has been thrown but the state or cause cannot be determined. |
| NoAdAvailable | noAdAvailable | 1 |
No ad is available. |
| NetworkConnectionFailure | networkConnectionFailure | 2 |
A connection to the network could not be established. |
| ClientConfiguration | clientConfiguration | 3 |
The AdControl or InterstitialAd has not been configured properly. |
| ServerSideError | serverSideError | 4 |
The ad server network has reported that a server error has occurred. |
| InvalidServerResponse | invalidServerResponse | 5 |
The server response contained invalid data. |
| Other | other | 6 |
The error cannot be classified as one of the known errors. |
| RefreshNotAllowed | refreshNotAllowed | 7 |
Banner ad refresh is not allowed for 60 seconds after the ad is displayed. If you receive additional error text saying “refresh not performed because ad is not on screen” then check to make sure the size of the AdControl is set to a size that can display a banner ad. |
| CreativeError | creativeError | 8 |
The ad creative experienced an error. |
| MraidOperationFailure | mraidOperationFailure | 9 |
An error occurred while performing an MRAID operation triggered by the ad. |
| Success | success | 10 |
The action succeeded. |
| Cancelled | cancelled | 11 |
The action was cancelled. |
| FileOperationFailure | fileOperationFailure | 12 |
An error occurred while performing a file operation. |
| ParseToBOMFailure | parseToBOMFailure | 13 |
An error occurred while extracting data from the ad payload. |
| ValidationFailure | validationFailure | 14 |
An error occurred during validation of the ad payload. |
Requirements
|
Minimum supported client |
Windows 8.1 |
|---|---|
|
Minimum supported server |
None supported |
|
Minimum supported phone |
Windows Phone 8.1 |
|
Namespace |
|
|
Metadata |
|
Attributes
- [Version]
See also