Constructor RequestFailedException
- Assembly
- Skyline.DataMiner.DataSources.CommunicationGatewayMiddleware.Common.dll
RequestFailedException()
Initializes a new instance of the RequestFailedException class.
public RequestFailedException()
RequestFailedException(string)
Builds an exception based on a message. Reverts to the default behavior of the Exception class.
public RequestFailedException(string message)
Parameters
messagestringA description of the error and any relevant information.
RequestFailedException(ErrorCode)
Builds an exception based on a CommunicationGateway API error code.
public RequestFailedException(ErrorCode errorCode)
Parameters
errorCodeErrorCodeThe error code received from the CommunicationGateway DxM.
RequestFailedException(string, Exception)
Initializes a new instance of the RequestFailedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public RequestFailedException(string message, Exception innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
RequestFailedException(SerializationInfo, StreamingContext)
Builds an exception with serialized data.
protected RequestFailedException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe serialized object data about the exception being thrown.
contextStreamingContextThe contextual information about the source or destination