Guide.EndShowMessageBox Method
XNA Game Studio 4.0
Ends the display of a message box.
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
public static Nullable<int> EndShowMessageBox ( IAsyncResult result )
Parameters
- result
- The IAsyncResult returned from BeginShowMessageBox.
Return Value
The identity of the message box button pressed by the user.
This call blocks until the display operation is finished. Typically, you call this from the callback function specified in the callback argument of BeginShowMessageBox.
Each call to EndShowMessageBox must match an earlier call to BeginShowMessageBox.