Table of Contents

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 string

A 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 ErrorCode

The 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 string

The error message that explains the reason for the exception.

innerException Exception

The 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 SerializationInfo

The serialized object data about the exception being thrown.

context StreamingContext

The contextual information about the source or destination