Class InitializationException
Implements a initialization exception.
Inheritance
System.Object
System.Exception
InitializationException
Implements
System.Runtime.Serialization.ISerializable
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Sartorius.SAF.ExceptionHandling
Assembly: Sartorius.SAF.dll
Syntax
[Serializable]
public class InitializationException : Exception, ISerializable
Constructors
View SourceInitializationException()
Create a new instance of InitializationException class.
Declaration
public InitializationException()
InitializationException(SerializationInfo, StreamingContext)
Initializes a new instance of the InitializationException class.
Declaration
protected InitializationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
InitializationException(String)
Create and initialize a new instance of InitializationException class.
Declaration
public InitializationException(string errorText)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorText | The error message that explains the reason for the exception. |
InitializationException(String, Exception)
Create a new instance of InitializationException class.
Declaration
public InitializationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
System.Exception | innerException | The error message that explains the reason for the exception. |
Implements
System.Runtime.Serialization.ISerializable