GameUpdateRequiredException Constructor (String, Exception)
Initializes a new GameUpdateRequiredException, with a specified error message and a reference to the inner exception that caused the error.
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public GameUpdateRequiredException (
string message,
Exception innerException
)
public:
GameUpdateRequiredException(
String message,
Exception innerException
)
Parameters
- message
Type: String
Text that describes the error. - innerException
Type: Exception
The exception that is the cause of the GameUpdateRequiredException. If this parameter is not null, the exception is raised in a catch block that handles the inner exception.
Remarks
The content of the message parameter is intended to be understood by humans. The caller of this constructor must ensure the string is localized for the current system culture.
An exception thrown as a direct result of a previous exception should include a reference to that previous exception in the innerException parameter. The InnerException property returns the same value that is passed into this constructor, or null if the caller did not supply the inner exception parameter to the constructor.
Requirements
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
See Also
Reference
GameUpdateRequiredException Class
GameUpdateRequiredException Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Windows Phone