Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Draw Method

Updated: August 2, 2013

Published: April 2, 2014

Draws graphical elements of the ad inside the DisplayRectangle. Inherited from DrawableGameComponent.Draw().

Namespace: Microsoft.Advertising.Mobile.Xna

Assembly: Microsoft.Advertising.Mobile.Xna (in Microsoft.Advertising.Mobile.Xna)

 public override void Draw (GameTime gameTime)

Name

Description

Type

gameTime

A GameTime object that provides a snapshot of timing values.

GameTime

Exceptions

Exception Type

Condition

InvalidOperationException

The internal LoadContent function failed.

  • This call should be made after all other calls to draw game objects.

  • Ads should not be covered by other graphical elements.

Platforms

Windows Phone 7.x only

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

ADD
Show:
© 2015 Microsoft