Dispose Method (Hybrid)
Updated: August 2, 2013
Published: April 2, 2014
Releases the resources used by the AdComponent object.
Assembly: Microsoft.Advertising.Mobile.Xna (in Microsoft.Advertising.Mobile.Xna.dll)
Call Dispose when you are finished using the AdComponent. The Dispose method leaves the AdComponent in an unusable state. After calling Dispose, you must release all references to the AdComponent in order for the garbage collector to free the memory used by the AdComponent.
Always call Dispose before you release your last reference to the AdComponent.
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 email@example.com. There is no product support through this alias. Documentation feedback only.