C# Class WATKit.Exceptions.IncompatibleElementException

Thrown when an attempt to wrap an incompatible AutomationElement with an AutomationControl derived class is made
Inheritance: System.Exception
Show file Open project: MikeHanson/WATKit

Public Methods

Method Description
IncompatibleElementException ( string message ) : System

Initializes a new instance of the IncompatibleElementException class.

IncompatibleElementException ( string message, Exception innerException ) : System

Initializes a new instance of the IncompatibleElementException class.

IncompatibleElementException ( string sourceType, string targetType ) : System

Initializes a new instance of the IncompatibleElementException class.

Protected Methods

Method Description
IncompatibleElementException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the IncompatibleElementException class.

Method Details

IncompatibleElementException() protected method

Initializes a new instance of the IncompatibleElementException class.
The parameter is null. The class name is null or is zero (0).
protected IncompatibleElementException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The that holds the serialized object data about the exception being thrown.
context System.Runtime.Serialization.StreamingContext The that contains contextual information about the source or destination.
return System

IncompatibleElementException() public method

Initializes a new instance of the IncompatibleElementException class.
public IncompatibleElementException ( string message ) : System
message string The message.
return System

IncompatibleElementException() public method

Initializes a new instance of the IncompatibleElementException class.
public IncompatibleElementException ( string message, Exception innerException ) : System
message string The message.
innerException System.Exception The inner exception.
return System

IncompatibleElementException() public method

Initializes a new instance of the IncompatibleElementException class.
public IncompatibleElementException ( string sourceType, string targetType ) : System
sourceType string Type of the source.
targetType string Type of the target.
return System