Constructor RequestFailedException
- Namespace
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Api
- Assembly
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.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
message
stringA 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
errorCode
ErrorCodeThe 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
message
stringThe error message that explains the reason for the exception.
innerException
ExceptionThe 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 based on a CommunicationGateway API error code.
protected RequestFailedException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe serialized object data about the exception being thrown.
context
StreamingContextThe contextual information about the source or destination