Export (0) Print
Expand All

ErrorOccurred (JavaScript: onErrorOccurred) - Windows 8.0

Microsoft Advertising Services

Updated: August 2, 2013

Published: June 4, 2013

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 8 Dev Center support page (scroll down to the section "Microsoft Advertising support").

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

Community Additions

ADD
Show:
© 2014 Microsoft