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 |
---|---|
|
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.
For an example, refer to HttpRequestEncoder.
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family