Class TimEvent
Contains event information for asynchronous method calls. It is send to listeners Immutable class.
Inheritance
System.Object
TimEvent
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class TimEvent : object
Constructors
TimEvent(Terminal, TimException, RequestTypes)
Create event.
Declaration
public TimEvent(Terminal terminal, TimException exception, RequestTypes requestType)
Parameters
Type | Name | Description |
---|---|---|
Terminal | terminal | |
TimException | exception | |
RequestTypes | requestType |
Properties
Exception
None if request finished successfully or an TimException instance if the request failed.
Declaration
public TimException Exception { get; }
Property Value
Type | Description |
---|---|
TimException |
RequestType
Type of request this event has been send for.
Declaration
public RequestTypes RequestType { get; }
Property Value
Type | Description |
---|---|
RequestTypes |
Terminal
Terminal instance sending event.
Declaration
public Terminal Terminal { get; }
Property Value
Type | Description |
---|---|
Terminal |