Constructor AlarmTemplateNotFoundException
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
AlarmTemplateNotFoundException()
Initializes a new instance of the AlarmTemplateNotFoundException class.
public AlarmTemplateNotFoundException()
AlarmTemplateNotFoundException(string)
Initializes a new instance of the AlarmTemplateNotFoundException class.
public AlarmTemplateNotFoundException(string message)
Parameters
message
stringThe error message that explains the reason for the exception.
AlarmTemplateNotFoundException(string, Exception)
Initializes a new instance of the AlarmTemplateNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public AlarmTemplateNotFoundException(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.
AlarmTemplateNotFoundException(string, IDmsProtocol)
Initializes a new instance of the AlarmTemplateNotFoundException class.
public AlarmTemplateNotFoundException(string templateName, IDmsProtocol protocol)
Parameters
templateName
stringThe name of the template.
protocol
IDmsProtocolThe protocol this template relates to.
AlarmTemplateNotFoundException(string, string, string)
Initializes a new instance of the AlarmTemplateNotFoundException class.
public AlarmTemplateNotFoundException(string templateName, string protocolName, string protocolVersion)
Parameters
templateName
stringThe name of the template.
protocolName
stringThe name of the protocol.
protocolVersion
stringThe version of the protocol.
AlarmTemplateNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the AlarmTemplateNotFoundException class with serialized data.
protected AlarmTemplateNotFoundException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe serialization info.
context
StreamingContextThe 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).