Cocktail Help Reference
Forward Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > EventFns Class : Forward Method



handler
The object to handle the message.
message
The message to be forwarded.

Glossary Item Box

Forwards a given message to the specified handler. The handler must implement the corresponding IHandle interface for the message to be delivered.

Syntax

Visual Basic (Declaration) 
Public Shared Sub Forward( _
   ByVal handler As Object, _
   ByVal message As Object _
) 
Visual Basic (Usage)Copy Code
Dim handler As Object
Dim message As Object
 
EventFns.Forward(handler, message)
C# 
public static void Forward( 
   object handler,
   object message
)
C++/CLI 
public:
static void Forward( 
   Object^ handler,
   Object^ message
) 

Parameters

handler
The object to handle the message.
message
The message to be forwarded.

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

© 2013 All Rights Reserved.