| Visual Basic (Usage) | Copy Code |
|---|---|
Dim channel As ITransportChannel Dim template As Session Dim copyEventHandlers As Boolean Dim instance As New Session(channel, template, copyEventHandlers) | |
| C# | |
|---|---|
public Session( ITransportChannel channel, Session template, bool copyEventHandlers ) | |
Parameters
- channel
- The channel.
- template
- The template session.
- copyEventHandlers
- if set to
truethe event handlers are copied.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x