Guide.EndShowMessageBox Method

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
Type: IAsyncResult
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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: