Creates the duplex output channel sending messages to the duplex input channel and receiving response messages by using the thread pool.

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

Syntax

C#
public IDuplexOutputChannel CreateDuplexOutputChannel(
	string channelId
)
Visual Basic
Public Function CreateDuplexOutputChannel ( _
	channelId As String _
) As IDuplexOutputChannel
Visual C++
public:
virtual IDuplexOutputChannel^ CreateDuplexOutputChannel(
	String^ channelId
) sealed

Parameters

channelId
Type: System..::..String
Identifies the receiving duplex input channel.

Return Value

duplex output channel

Implements

IMessagingSystemFactory..::..CreateDuplexOutputChannel(String)

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 generates the unique response receiver id automatically.

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