The ChannelFields Constructor includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.
Initializes a new instance of the ChannelFields class.Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal channelId As String, _ ByVal newChannels() As String, _ ByVal closeChannel As String, _ ByVal requestId As Nullable(Of Integer) _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim channelId As String Dim newChannels() As String Dim closeChannel As String Dim requestId As Nullable(Of Integer) Dim instance As New ChannelFields(channelId, newChannels, closeChannel, requestId) |
C# | |
---|---|
public ChannelFields( string channelId, string[] newChannels, string closeChannel, Nullable<int> requestId ) |
C++/CLI | |
---|---|
public: ChannelFields( String^ channelId, array<String^>^ newChannels, String^ closeChannel, Nullable<int> requestId ) |
Parameters
- channelId
- The value for the JPIP server assigned channel ID.
- newChannels
- The value which names one or more transport protocols that the client is willing to accept.
- closeChannel
- Closes one or more open channels in a session.
- requestId
- Specifies a Request ID value.
The newChannels is used to request a new JPIP channel. If no Channel ID request field is present, the request is for a new session. Otherwise, the request is for a new channel in the same session as the channel identified by the Channel ID request field.
Refer to JpipChannelTypes for valid values for the newChannels parameter.
To close all channels associated with a session, specify the value "*" in the closeChannel.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7