Class ServerException
This exception is thrown when the server encountered an unexpected error.
Inheritance
ServerException
Syntax
[Serializable]
[ServiceError(ServiceError.Code.GenericServerError, HttpStatusCode.InternalServerError)]
public class ServerException : ServiceException, ISerializable, _Exception
Constructors
ServerException()
Declaration
ServerException(SerializationInfo, StreamingContext)
Declaration
protected ServerException(SerializationInfo info, StreamingContext context)
Parameters
ServerException(String)
Declaration
public ServerException(string msg)
Parameters
Type |
Name |
Description |
String |
msg |
|
ServerException(String, Exception)
Declaration
public ServerException(string message, Exception innerException)
Parameters
ServerException(ServiceError)
Declaration
public ServerException(ServiceError error)
Parameters