Table of Contents

Constructor TemplateNotFoundException

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

TemplateNotFoundException()

Initializes a new instance of the TemplateNotFoundException class.

public TemplateNotFoundException()

TemplateNotFoundException(string, IDmsProtocol)

Initializes a new instance of the TemplateNotFoundException class.

public TemplateNotFoundException(string templateName, IDmsProtocol protocol)

Parameters

templateName string

The name of the template.

protocol IDmsProtocol

The protocol this template relates to.

Exceptions

ArgumentNullException

protocol is null.

TemplateNotFoundException(string, string, string)

Initializes a new instance of the TemplateNotFoundException class.

public TemplateNotFoundException(string templateName, string protocolName, string protocolVersion)

Parameters

templateName string

The name of the template.

protocolName string

The name of the protocol.

protocolVersion string

The version of the protocol.

TemplateNotFoundException(string)

Initializes a new instance of the TemplateNotFoundException class.

public TemplateNotFoundException(string message)

Parameters

message string

The error message that explains the reason for the exception.

TemplateNotFoundException(string, string, string, Exception)

Initializes a new instance of the TemplateNotFoundException class.

public TemplateNotFoundException(string templateName, string protocolName, string protocolVersion, Exception innerException)

Parameters

templateName string

The name of the template.

protocolName string

The name of the protocol.

protocolVersion string

The version of the protocol.

innerException Exception

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

TemplateNotFoundException(string, Exception)

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

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

TemplateNotFoundException(SerializationInfo, StreamingContext)

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

protected TemplateNotFoundException(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).