ErrorCode enumeration
Collapse the table of content
Expand the table of content

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.

MemberValueDescription
Unknown | unknown0

An exception has been thrown but the state or cause cannot be determined.

NoAdAvailable | noAdAvailable1

No ad is available.

NetworkConnectionFailure | networkConnectionFailure2

A connection to the network could not be established.

ClientConfiguration | clientConfiguration3

The AdControl or InterstitialAd has not been configured properly.

ServerSideError | serverSideError4

The ad server network has reported that a server error has occurred.

InvalidServerResponse | invalidServerResponse5

The server response contained invalid data.

Other | other6

The error cannot be classified as one of the known errors.

RefreshNotAllowed | refreshNotAllowed7

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 | creativeError8

The ad creative experienced an error.

MraidOperationFailure | mraidOperationFailure9

An error occurred while performing an MRAID operation triggered by the ad.

Success | success10

The action succeeded.

Cancelled | cancelled11

The action was cancelled.

FileOperationFailure | fileOperationFailure12

An error occurred while performing a file operation.

ParseToBOMFailure | parseToBOMFailure13

An error occurred while extracting data from the ad payload.

ValidationFailure | validationFailure14

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

Microsoft.Advertising
Microsoft::Advertising [C++]

Metadata

Microsoft.Advertising.winmd

Attributes

[Version]

See also

ErrorCode property

 

 

Show:
© 2017 Microsoft