Class RosterReservedNameException
Exception thrown when creating or updating items in Roster with WellKnownTypes.
Inheritance
Namespace: Microsoft.XboxStudios.SQTech.Roster
Assembly: Microsoft.GNS.Roster.Common.dll
Syntax
public class RosterReservedNameException : Exception
Constructors
View SourceRosterReservedNameException()
Initializes a new instance of the RosterReservedNameException class.
Declaration
public RosterReservedNameException()
RosterReservedNameException(SerializationInfo, StreamingContext)
Initializes a new instance of the RosterReservedNameException class.
Declaration
protected RosterReservedNameException(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. |
RosterReservedNameException(String)
Initializes a new instance of the RosterReservedNameException class.
Declaration
public RosterReservedNameException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
RosterReservedNameException(String, Exception)
Initializes a new instance of the RosterReservedNameException class.
Declaration
public RosterReservedNameException(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. |