Condividi tramite


ServiceRpcDescriptor.WithMultiplexingStream(MultiplexingStream) Metodo

Definizione

Attenzione

Use the WithMultiplexingStream(MultiplexingStream.Options) overload as may be defined in a derived type instead.

Restituisce un'istanza di ServiceRpcDescriptor simile a quella, ma con la MultiplexingStream proprietà impostata sul valore specificato e Nerdbank.Streams.MultiplexingStream.Options impostata su 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

Parametri

multiplexingStream
Nerdbank.Streams.MultiplexingStream

Oggetto Nerdbank.Streams.MultiplexingStream che può essere usato da client o server costruiti.

Restituisce

Clone di questa istanza, con la proprietà modificata. Oppure questa stessa istanza se la proprietà corrisponde già.

Attributi

Si applica a