Intersoft.Client.Framework Namespace > DelegateReference Class : DelegateReference Constructor |
Public Function New( _ ByVal delegate As Delegate, _ ByVal keepReferenceAlive As Boolean _ )
Dim delegate As Delegate Dim keepReferenceAlive As Boolean Dim instance As New DelegateReference(delegate, keepReferenceAlive)
public DelegateReference( Delegate delegate, bool keepReferenceAlive )
public: DelegateReference( Delegate^ delegate, bool keepReferenceAlive )
Exception | Description |
---|---|
System.ArgumentNullException | If the passed delegate is not assignable to System.Delegate. |
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