Show / Hide Table of Contents

Class UnexpectedStateException

Exception to indicate the current application or server state is unexpected.

Inheritance
System.Object
UnexpectedStateException
Namespace: Microsoft.XboxStudios.SQTech.Roster
Assembly: Microsoft.GNS.Roster.Common.dll
Syntax
public class UnexpectedStateException : Exception

Constructors

View Source

UnexpectedStateException()

Initializes a new instance of the UnexpectedStateException class.

Declaration
public UnexpectedStateException()
View Source

UnexpectedStateException(SerializationInfo, StreamingContext)

Initializes a new instance of the UnexpectedStateException class.

Declaration
protected UnexpectedStateException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

StreamingContext context

The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

View Source

UnexpectedStateException(String)

Initializes a new instance of the UnexpectedStateException class.

Declaration
public UnexpectedStateException(string message)
Parameters
Type Name Description
System.String message

The message that describes the error.

View Source

UnexpectedStateException(String, Exception)

Initializes a new instance of the UnexpectedStateException class.

Declaration
public UnexpectedStateException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The message that describes the error.

Exception innerException

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

  • View Source
In This Article
Back to top Generated by DocFX