Class RosterServerException
Base Roster server exception.
Namespace: Microsoft.GNS.Roster.Web
Assembly: Microsoft.GNS.Roster.Web.dll
Syntax
public class RosterServerException : Exception
Constructors
View SourceRosterServerException()
Initializes a new instance of the RosterServerException class.
Declaration
public RosterServerException()
RosterServerException(SerializationInfo, StreamingContext)
Initializes a new instance of the RosterServerException class.
Declaration
protected RosterServerException(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. |
RosterServerException(String)
Initializes a new instance of the RosterServerException class.
Declaration
public RosterServerException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
RosterServerException(String, Exception)
Initializes a new instance of the RosterServerException class.
Declaration
public RosterServerException(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. |