ErrorOccurred - Windows 8.1

Updated: October 17, 2013

Published: April 1, 2014

Raised when the AdControl encounters an operational error.

Namespace: Microsoft.Advertising.WinRT.UI (in Microsoft.Advertising.WinRT.UI.winmd)

JavaScript Library: ad.js

Syntax

C#

public event System.EventHandler<AdErrorEventArgs> ErrorOccurred;

JavaScript

var errorEventHandler = function (sender, evt) {
// use either or both of evt.errorMessage or evt.errorCode
}

For error messages and codes see ErrorCode Enumeration.

Support and Feedback

Get product support or report a bug in the advertising SDK by visiting the Windows Store Apps developer support page support page. For product support, under "App development" click the "Advertising SDK" link. To post a question in the support forum, scroll down to "Find answers online" and click "Ads-in-Apps for Windows 8 forum".

Send feedback about this documentation to adsfdbk@microsoft.com. There is no product support through this alias. Documentation feedback only.

Community Additions

Show: