ClientBase<TChannel>.ChannelBase<T>.IOutputChannel.Send 方法

定义

向输出通道的目标传输一条消息。

重载

IOutputChannel.Send(Message)

向输出通道的目标传输一条消息。

IOutputChannel.Send(Message, TimeSpan)

在指定时间间隔内在当前输出通道上发送一条消息。

IOutputChannel.Send(Message)

Source:
ClientBase.cs
Source:
ClientBase.cs
Source:
ClientBase.cs

向输出通道的目标传输一条消息。

C#
void IOutputChannel.Send (System.ServiceModel.Channels.Message message);

参数

message
Message

正在输出通道上发送的消息。

实现

适用于

.NET 8 和其他版本
产品 版本
.NET Core 1.0, Core 1.1, 8
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
UWP 10.0

IOutputChannel.Send(Message, TimeSpan)

Source:
ClientBase.cs
Source:
ClientBase.cs
Source:
ClientBase.cs

在指定时间间隔内在当前输出通道上发送一条消息。

C#
void IOutputChannel.Send (System.ServiceModel.Channels.Message message, TimeSpan timeout);

参数

message
Message

正在输出通道上发送的消息。

timeout
TimeSpan

指定在超时前必须完成发送操作的时间的时间跨度。

实现

适用于

.NET 8 和其他版本
产品 版本
.NET Core 1.0, Core 1.1, 8
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
UWP 10.0