C-DEngine 5.105

cdeP..::..FireEvent Method

Fire an Event on a property

Namespace:  nsCDEngine.Engines.ThingService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void FireEvent(
	string pEventName,
	bool FireAsync,
	int pFireEventTimeout
)
Public Sub FireEvent ( _
	pEventName As String, _
	FireAsync As Boolean, _
	pFireEventTimeout As Integer _
)
public:
void FireEvent(
	String^ pEventName, 
	bool^ FireAsync, 
	int^ pFireEventTimeout
)

Parameters

pEventName
Type: String
Required - Name of the event
FireAsync
Type: Boolean
Required. If set to trueTruetruetrue (True in Visual Basic), then the event is fired async ; otherwise, synchronous .
pFireEventTimeout
Type: Int32
Optional. The default value is 0 and events are fired without waiting for execution. -1 sets the timeout to MyServiceHostInfo.EventTimeout

Remarks