共用方式為


ServiceRpcDescriptor.WithMultiplexingStream(MultiplexingStream) 方法

定義

警告

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可由建構的用戶端或伺服器使用的 。

傳回

這個實例的複製品,屬性已變更。 或者,如果 屬性已經相符,則為相同的實例。

屬性

適用於