Export (0) Print
Expand All

Dispose Method (Hybrid)

Updated: August 2, 2013

Published: April 2, 2014

Releases the resources used by the AdComponent object.

Namespace: Microsoft.Advertising.Mobile.Xna

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

public void Dispose()

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.

System_CLiX_warningWarning

Always call Dispose before you release your last reference to the AdComponent.

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:
© 2014 Microsoft