ErrorCode enumeration
Defines the error codes that can be returned by the ErrorCode property of an AdErrorEventArgs object.
Syntax
public enum ErrorCode
Members
| Member | Value | Description |
|---|---|---|
| Unknown |
0 |
An exception has been thrown but the state or cause cannot be determined. |
| NoAdAvailable |
1 |
The server was unable to find an ad that matched the request. |
| NetworkConnectionFailure |
2 |
A connection to the network could not be established. |
| Unknown |
3 |
The AdControl has not been configured properly. |
| ServerSideError |
4 |
The ad server network has reported that a server error has occurred. |
| Unknown |
5 |
The server response contained invalid data. |
| Other |
6 |
The error cannot be classified as one of the known errors. |
| Other |
7 |
Ad refresh is not allowed. |
Requirements
| Minimum supported phone | Windows Phone 8 Silverlight |
|---|---|
| Namespace | Microsoft.Advertising.Mobile.Common |
| Assembly | Microsoft.Advertising.Mobile.Common.dll |
Related topics