Class ArgumentEmptyException
The exception that is thrown when an argument of the value type is empty.
Inheritance
System.Object
System.Exception
System.ApplicationException
ArgumentEmptyException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Common
Assembly: Terrasoft.Common.dll
Syntax
[Serializable]
public class ArgumentEmptyException : ApplicationException, ISerializable, _Exception
Constructors
ArgumentEmptyException()
Initializes an instance of the ArgumentEmptyException class.
Declaration
public ArgumentEmptyException()
ArgumentEmptyException(SerializationInfo, StreamingContext)
Declaration
protected ArgumentEmptyException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
ArgumentEmptyException(String)
Initializes an instance of the ArgumentEmptyException class for the specified parameter.
Declaration
public ArgumentEmptyException(string argumentName)
Parameters
Type | Name | Description |
---|---|---|
System.String | argumentName | Argument name. |
ArgumentEmptyException(String, Exception)
Initializes an instance of the ArgumentEmptyException class using the specified error message and the reference to inner exception which caused to exception.
Declaration
public ArgumentEmptyException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Error message. |
System.Exception | innerException | Inner exception. |
Properties
ArgumentName
Argument name.
Declaration
public string ArgumentName { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception