Share via


EventCallback Struct

Definition

A bound event handler delegate.

public value class EventCallback
public readonly struct EventCallback
type EventCallback = struct
Public Structure EventCallback
Inheritance
EventCallback

Constructors

Name Description
EventCallback(IHandleEvent, MulticastDelegate)

Creates the new EventCallback.

Fields

Name Description
Empty

Gets an empty EventCallback.

Factory

Gets a reference to the EventCallbackFactory.

Properties

Name Description
HasDelegate

Gets a value that indicates whether the delegate associated with this event dispatcher is non-null.

Methods

Name Description
Equals(Object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

InvokeAsync()

Invokes the delegate associated with this binding and dispatches an event notification to the appropriate component.

InvokeAsync(Object)

Invokes the delegate associated with this binding and dispatches an event notification to the appropriate component.

Applies to