Свойство | Type | Description | |
---|---|---|---|
Dispose | void |
Méthode | Description | |
---|---|---|
Dispose ( ) : void | ||
EventEx ( |
Default Copy Constructor
|
|
EventEx ( String eventName = null ) : System |
Default Constructor
|
|
EventEx ( bool isInitialRaised, EventResetMode eventResetMode, String eventName = null ) : System |
Default Constructor
|
|
GetEventHandle ( ) : |
Get actual event
|
|
GetEventResetMode ( ) : EventResetMode |
Returns the flag whether this event is resetting manually.
|
|
Lock ( ) : bool |
Locks the critical section
|
|
ResetEvent ( ) : bool |
Reset the event raised if event is not raised then no effect |
|
SetEvent ( ) : bool |
Set the event to be raised if event is already raised then no effect this function is same as unlock |
|
TryLock ( ) : bool |
Try to lock the critical section If other thread is already in the critical section, it just returns false and continue, otherwise obtain the ciritical section
|
|
TryLockFor ( int dwMilliSecond ) : bool |
Try to lock the critical section for given time
|
|
Unlock ( ) : void |
Leave the critical section
|
|
WaitForEvent ( int dwMilliSecond = Timeout.Infinite ) : bool |
Wait for the event raised for given time
|
Méthode | Description | |
---|---|---|
Dispose ( bool isDisposing ) : void |
public EventEx ( |
||
b | the object to copy from | |
Résultat | System |
public EventEx ( String eventName = null ) : System | ||
eventName | String | name of the event to distinguish |
Résultat | System |
public EventEx ( bool isInitialRaised, EventResetMode eventResetMode, String eventName = null ) : System | ||
isInitialRaised | bool | flag to raise the event on creation |
eventResetMode | EventResetMode | EventResetMode |
eventName | String | name of the event to distinguish |
Résultat | System |
public GetEventHandle ( ) : |
||
Résultat |
public GetEventResetMode ( ) : EventResetMode | ||
Résultat | EventResetMode |
public TryLockFor ( int dwMilliSecond ) : bool | ||
dwMilliSecond | int | the wait time |
Résultat | bool |
public WaitForEvent ( int dwMilliSecond = Timeout.Infinite ) : bool | ||
dwMilliSecond | int | the wait time in millisecond |
Résultat | bool |