Visual Basic (Usage) | ![]() |
---|---|
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
true
the event handlers are copied.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x