The following tables list the members exposed by IpcEventChannel.
Name | Description | |
---|---|---|
IpcEventChannel Constructor | Overloaded. |
Name | Description | |
---|---|---|
ChannelName | Returns the channel name of this instance | |
DefaultTimeout | Gets/Sets the number of milliseconds to wait when starting/stopping threads or waiting for a known state | |
ExecutionTimeout | Gets/Sets the number of milliseconds to wait for an event to complete processing | |
InCall | Returns true if the current thread is processing an event | |
InstanceId | Returns the identity of this channel when listening | |
Item | Registers/Gets an IpcEvent instance for the specified event name | |
Registrar | Returns the storage registrar of this channel |
Name | Description | |
---|---|---|
Broadcast | Overloaded. Sends the event to all channel subscribers | |
Dispose | Disposes of all resources used by this channel | |
EnableAsyncSend | Enables a background worker thread to continue sending messages that are incomplete after the expiration of the timeout specified in the Broadcast/SendTo method. This is required to avoid dead-locks if your broadcasting messages within an IpcEvent.OnEvent event handler. | |
GetEvents | Returns an enumeration of all known events of this instance | |
RaiseLocal | Synchronously dispatches the event to this instance's subscribers | |
SendTo | Overloaded. Sends the event to all channel subscribers with the given identity or name (case-insensitive) | |
StartListening | Overloaded. Starts listening for events being posted to this channel on a new thread | |
StopAsyncSending | Shutsdown the worker thread created by a call to EnableAsyncSend() allowing up to the number of milliseconds in timeout to shutdown the worker and complete any pending work. If timeout is 0, the worker will be aborted. | |
StopListening | Overloaded. Stops listening to incoming events on the channel |
Name | Description | |
---|---|---|
OnError | Raised when an event subscriber does not handle an exception | |
OnModified | Raised when the collection of event names changes |