TEventType
TPayload
Intersoft ClientUI Documentation
Publish<TEventType,TPayload> Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > IEventAggregator Interface : Publish<TEventType,TPayload> Method






payload
Message to pass to the subscribers.
Publishes the DelegateEvent<TPayload>.

Syntax

Visual Basic (Declaration) 
Sub Publish
     (Of TEventType As DelegateEventBase,
     TPayload)( _
   ByVal payload As TPayload _
) 
Visual Basic (Usage)Copy Code
Dim instance As IEventAggregator
Dim payload As TPayload
 
instance.Publish(Of TEventType, TPayload)(payload)
C# 
void Publish<TEventType,TPayload>( 
   TPayload payload
)where TEventType: DelegateEventBase
Delphi 
procedure Publish( 
    payload: TPayload
); 
JScript 
function Publish( 
   payload : TPayload
);
Managed Extensions for C++ 
void Publish<TEventType,TPayload>( 
   TPayload* payload
) where TEventType: DelegateEventBase
C++/CLI 
void Publishgeneric<typename TEventType>
generic<typename TPayload>
( 
   TPayload^ payload
) where TEventType: DelegateEventBase

Parameters

payload
Message to pass to the subscribers.

Type Parameters

TEventType
TPayload

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.