Export (0) Print
Expand All

AdComponent Class (Hybrid)

Updated: August 2, 2013

Published: April 2, 2014

This class is used in hybrid Silverlight/XNA apps to manage the DrawableAd object. This allows you to display ads when using XNA rendering in a Silverlight app. See Adding XNA Rendering to a Silverlight Application on Windows Phone. This is an advanced scenario. For general use, developers are advised to use either the AdControl class designed for Silverlight apps or the DrawableAd and AdGameComponent classes designed for XNA apps.

See the topic Integrating Ads into a Hybrid Silverlight/XNA App for a walkthrough that shows how to put ads in a hybrid app.

See Also


AdComponent Members (Hybrid)
Microsoft.Advertising.Mobile.Xna Namespace
Ad Size and Rendering [UAC_API_REF]

Support and Feedback

Get product support or report a bug in the product by visiting the Windows Phone 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

© 2014 Microsoft