InvalidAxisException Class
An exception thrown when an axis is bound to an incorrect data type.
public class InvalidAxisException : Exception, ISerializable, _Exception
Constructors
InvalidAxisException()
Initializes a new instance of the InvalidAxisException class.
public InvalidAxisException()
InvalidAxisException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidAxisException
class with serialized data.
protected InvalidAxisException(SerializationInfo info, StreamingContext context)
Parameter | Type | Description |
---|---|---|
info | SerializationInfo | The SerializationInfo that holds the serialized object data about the exception being thrown. |
context | StreamingContext | The StreamingContext that contains contextual information about the source or destination. |
InvalidAxisException(String)
Initializes a new instance of the Exception class with a specified error message.
public InvalidAxisException(string message)
Parameter | Type | Description |
---|---|---|
message | String | The message that describes the error. |
InvalidAxisException(String, Exception)
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
public InvalidAxisException(string message, Exception innerException)
Parameter | Type | Description |
---|---|---|
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 (Nothing in Visual Basic) if no inner exception is specified. |
Inherited Members
- Exception.GetBaseException()
- Exception.ToString()
- Exception.GetObjectData(SerializationInfo, StreamingContext)
- Exception.GetType()
- Exception.Message
- Exception.Data
- Exception.InnerException
- Exception.TargetSite
- Exception.StackTrace
- Exception.HelpLink
- Exception.Source
- Exception.HResult
- Exception.SerializeObjectState
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.MemberwiseClone()