Show / Hide Table of Contents

Class UnexpectedScopeException

Indicates that a scope is unexpected for a given object.

Inheritance
System.Object
RosterServiceException
UnexpectedScopeException
Namespace: Microsoft.GNS.Roster
Assembly: Microsoft.GNS.Roster.Service.dll
Syntax
public class UnexpectedScopeException : RosterServiceException

Constructors

View Source

UnexpectedScopeException()

Initializes a new instance of the UnexpectedScopeException class.

Declaration
public UnexpectedScopeException()
View Source

UnexpectedScopeException(SerializationInfo, StreamingContext)

Initializes a new instance of the UnexpectedScopeException class.

Declaration
protected UnexpectedScopeException(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

UnexpectedScopeException(String)

Initializes a new instance of the UnexpectedScopeException class.

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

The message that describes the error.

View Source

UnexpectedScopeException(String, Exception)

Initializes a new instance of the UnexpectedScopeException class.

Declaration
public UnexpectedScopeException(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