ErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class ErrorCode
enum ErrorCode
[Windows.Foundation.Metadata.Version(1)]
public enum ErrorCode
var value = Microsoft.Advertising.ErrorCode.unknown
Public Enum ErrorCode
- Inheritance
-
System.EnumErrorCode
- Attributes
Additional features and requirements
Software Development Kit | |
Minimum supported OS |
Windows 10 (10.0.10240.0)
|
Fields
Cancelled | 11 | The action was cancelled. |
ClientConfiguration | 3 | The AdControl or InterstitialAd has not been configured properly. |
CreativeError | 8 | The ad creative experienced an error. |
FileOperationFailure | 12 | An error occurred while performing a file operation. |
InvalidServerResponse | 5 | The server response contained invalid data. |
MraidOperationFailure | 9 | An error occurred while performing an MRAID operation triggered by the ad. |
NetworkConnectionFailure | 2 | A connection to the network could not be established. |
NoAdAvailable | 1 | No ad is available. |
Other | 6 | The error cannot be classified as one of the known errors. |
ParseToBOMFailure | 13 | An error occurred while extracting data from the ad payload. |
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. |
ServerSideError | 4 | The ad server network has reported that a server error has occurred. |
Success | 10 | The action succeeded. |
Unknown | 0 | An exception has been thrown but the state or cause cannot be determined. |
ValidationFailure | 14 | An error occurred during validation of the ad payload. |