ServiceRpcDescriptor.WithMultiplexingStream(MultiplexingStream) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use the WithMultiplexingStream(MultiplexingStream.Options) overload as may be defined in a derived type instead.
返回一个 实例,该实例 ServiceRpcDescriptor 与此类似,但 MultiplexingStream 属性设置为指定值,并将 Nerdbank.Streams.MultiplexingStream.Options 设置为 null
。
public:
virtual Microsoft::ServiceHub::Framework::ServiceRpcDescriptor ^ WithMultiplexingStream(Nerdbank::Streams::MultiplexingStream ^ multiplexingStream);
[System.Obsolete("Use the WithMultiplexingStream(MultiplexingStream.Options) overload as may be defined in a derived type instead.")]
public virtual Microsoft.ServiceHub.Framework.ServiceRpcDescriptor WithMultiplexingStream(Nerdbank.Streams.MultiplexingStream? multiplexingStream);
[<System.Obsolete("Use the WithMultiplexingStream(MultiplexingStream.Options) overload as may be defined in a derived type instead.")>]
abstract member WithMultiplexingStream : Nerdbank.Streams.MultiplexingStream -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
override this.WithMultiplexingStream : Nerdbank.Streams.MultiplexingStream -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
Public Overridable Function WithMultiplexingStream (multiplexingStream As MultiplexingStream) As ServiceRpcDescriptor
参数
- multiplexingStream
- Nerdbank.Streams.MultiplexingStream
Nerdbank.Streams.MultiplexingStream可由构造的客户端或服务器使用的 。
返回
此实例的克隆,属性已更改。 如果该属性已匹配,则为此同一实例。
- 属性