Table of Contents

Constructor ElementNotFoundException

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

ElementNotFoundException()

Initializes a new instance of the ElementNotFoundException class.

public ElementNotFoundException()

ElementNotFoundException(DmsElementId)

Initializes a new instance of the ElementNotFoundException class.

public ElementNotFoundException(DmsElementId dmsElementId)

Parameters

dmsElementId DmsElementId

The DataMiner Agent ID/element ID of the element that was not found.

ElementNotFoundException(int, int)

Initializes a new instance of the ElementNotFoundException class.

public ElementNotFoundException(int dmaId, int elementId)

Parameters

dmaId int

The ID of the DataMiner Agent that was not found.

elementId int

The ID of the element that was not found.

ElementNotFoundException(string)

Initializes a new instance of the ElementNotFoundException class.

public ElementNotFoundException(string message)

Parameters

message string

The error message that explains the reason for the exception.

ElementNotFoundException(string, Exception)

Initializes a new instance of the ElementNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public ElementNotFoundException(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.

ElementNotFoundException(DmsElementId, Exception)

Initializes a new instance of the ElementNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public ElementNotFoundException(DmsElementId dmsElementId, Exception innerException)

Parameters

dmsElementId DmsElementId

The DataMiner Agent ID/element ID of the element that was not found.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

ElementNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the ElementNotFoundException class with serialized data.

protected ElementNotFoundException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The serialization info.

context StreamingContext

The streaming context.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

Exceptions

ArgumentNullException

The info parameter is null.

SerializationException

The class name is null or HResult is zero (0).