Guide.EndShowMessageBox Method

Ends the display of a message box.

Syntax

'Declaration
Public Shared Function EndShowMessageBox ( _
         result As IAsyncResult _
) As Nullable(Of Integer) 
public static Nullable<int> EndShowMessageBox (
         IAsyncResult result
)
public:
static Nullable<int> EndShowMessageBox(
         IAsyncResult result
)

Parameters

Return Value

Type: Nullable<Int32>
The identity of the message box button pressed by the user.

Remarks

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.

Requirements

Namespace: Microsoft.Xna.Framework.GamerServices

Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

See Also

Reference

Guide Class
Guide Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Windows Phone