Intersoft ClientUI Documentation
BackgroundEventSubscription<TPayload> Constructor
See Also  Send Feedback
Intersoft.Client.Framework Namespace > BackgroundEventSubscription<TPayload> Class : BackgroundEventSubscription<TPayload> Constructor






actionReference
A reference to a delegate of type Action.
filterReference
A reference to a delegate of type Predicate.
Creates a new instance of BackgroundEventSubscription<TPayload>.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal actionReference As IDelegateReference, _
   ByVal filterReference As IDelegateReference _
)
Visual Basic (Usage)Copy Code
Dim actionReference As IDelegateReference
Dim filterReference As IDelegateReference
 
Dim instance As New BackgroundEventSubscription(Of TPayload)(actionReference, filterReference)
C# 
public BackgroundEventSubscription<TPayload>( 
   IDelegateReference actionReference,
   IDelegateReference filterReference
)
Delphi 
public BackgroundEventSubscription<TPayload>( 
    actionReference: IDelegateReference;
    filterReference: IDelegateReference
); 
JScript 
public function BackgroundEventSubscription<TPayload>( 
   actionReference : IDelegateReference,
   filterReference : IDelegateReference
);
Managed Extensions for C++ 
public: BackgroundEventSubscription<TPayload>( 
   IDelegateReference* actionReference,
   IDelegateReference* filterReference
)
C++/CLI 
public:
BackgroundEventSubscription<TPayload>( 
   IDelegateReference^ actionReference,
   IDelegateReference^ filterReference
)

Parameters

actionReference
A reference to a delegate of type Action.
filterReference
A reference to a delegate of type Predicate.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionWhen or are .
System.ArgumentExceptionWhen the target of is not of type , or the target of is not of type .

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.