Intersoft.Client.Framework Namespace > BackgroundEventSubscription<TPayload> Class : BackgroundEventSubscription<TPayload> Constructor |
Public Function New( _ ByVal actionReference As IDelegateReference, _ ByVal filterReference As IDelegateReference _ )
Dim actionReference As IDelegateReference Dim filterReference As IDelegateReference Dim instance As New BackgroundEventSubscription(Of TPayload)(actionReference, filterReference)
public BackgroundEventSubscription<TPayload>( IDelegateReference actionReference, IDelegateReference filterReference )
public: BackgroundEventSubscription<TPayload>( IDelegateReference^ actionReference, IDelegateReference^ filterReference )
Exception | Description |
---|---|
System.ArgumentNullException | When actionReference or %% are a null reference (Nothing in Visual Basic). |
System.ArgumentException | When the target of actionReference is not of type Action, or the target of filterReference is not of type Predicate. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2