Class EventTimeoutException
Describes timeouts that occur during the event handling.
Inherited Members
Namespace: Attachmate.Verastream.HostIntegrator.ScriptAPI
Assembly: Attachmate.Verastream.HostIntegrator.ScriptAPI.dll
Syntax
[Serializable]
public class EventTimeoutException : ApplicationException, ISerializable, _Exception
Remarks
Describes timeouts that occur during the event handling. An event handler is obligated to propagate this exception.
Constructors
EventTimeoutException()
Constructs a new runtime exception with null
as its
detail message.
Declaration
public EventTimeoutException()
Remarks
Constructs a new runtime exception with null
as its
detail message. The cause is not initialized.
EventTimeoutException(Exception)
Constructs a new runtime exception with the specified cause and a detail message.
Declaration
public EventTimeoutException(Exception cause)
Parameters
Type | Name | Description |
---|---|---|
Exception | cause | The cause (which is saved for later retrieval by getting
the InnerException. (A |
Remarks
Constructs a new runtime exception with the specified cause and a
detail message. The message will be (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause
). This constructor is useful for exceptions
that are little more than wrappers for other exceptions.
EventTimeoutException(SerializationInfo, StreamingContext)
Initializes a new instance of the EventTimeoutException class with serialized data.
Declaration
protected EventTimeoutException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The object that holds the serialized object data. |
StreamingContext | context | The contextual information about the source or destination. |
EventTimeoutException(string)
Constructs a new runtime exception with the specified detail message.
Declaration
public EventTimeoutException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The detail message. The detail message is saved for later retrieval by getting the Message property. |
Remarks
Constructs a new runtime exception with the specified detail message. The cause is not initialized.
EventTimeoutException(string, Exception)
Constructs a new runtime exception with the specified detail message and cause.
Declaration
public EventTimeoutException(string message, Exception cause)
Parameters
Type | Name | Description |
---|---|---|
string | message | the detail message (which is saved for later retrieval by getting the Message property). |
Exception | cause | The cause (which is saved for later retrieval by getting the
InnerException property). (A |
Methods
GetObjectData(SerializationInfo, StreamingContext)
sets the SerializationInfo with information about the EventTimeoutExceptionException.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |