Creates the duplex output channel sending messages to the duplex input channel and receiving response messages.

Namespace: Eneter.Messaging.MessagingSystems.MessagingSystemBase
Assembly: Eneter.Messaging.Framework (in Eneter.Messaging.Framework.dll) Version: 5.0.0.0 (5.0.0.0)

Syntax

C#
IDuplexOutputChannel CreateDuplexOutputChannel(
	string channelId,
	string responseReceiverId
)
Visual Basic
Function CreateDuplexOutputChannel ( _
	channelId As String, _
	responseReceiverId As String _
) As IDuplexOutputChannel
Visual C++
IDuplexOutputChannel^ CreateDuplexOutputChannel(
	String^ channelId, 
	String^ responseReceiverId
)

Parameters

channelId
Type: System..::..String
identifies the receiving duplex input channel
responseReceiverId
Type: System..::..String
unique identifier of the response receiver represented by this duplex output channel.

Return Value

duplex output channel

Remarks

The duplex output channel is intended for the bidirectional communication. Therefore, it can send messages to the duplex input channel and receive response messages.

The duplex input channel distinguishes duplex output channels according to the response receiver id. This method allows to specified a desired response receiver id. Please notice, the response receiver id is supposed to be unique.

The duplex output channel can communicate only with the duplex input channel and not with the input channel.

Version Information

.NET

Supported in: .NET 4.5, .NET 4.0, .NET 3.5

Compact Framework

Supported in: Compact Framework 3.5, Compact Framework 2.0

Mono

Supported in: Mono 2.6.4

Silverlight

Supported in: Silverlight 5, Silverlight 4, Silverlight 3

Windows Phone

Supported in: Windows Phone 7.1, Windows Phone 7

See Also