Compartir a través de


ServiceRpcDescriptor.WithMultiplexingStream(MultiplexingStream) Método

Definición

Precaución

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

Devuelve una instancia de ServiceRpcDescriptor que se parece a esta, pero con la MultiplexingStream propiedad establecida en el valor especificado y Nerdbank.Streams.MultiplexingStream.Options establecida en 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

Parámetros

multiplexingStream
Nerdbank.Streams.MultiplexingStream

que Nerdbank.Streams.MultiplexingStream pueden ser utilizados por clientes o servidores construidos.

Devoluciones

Clon de esta instancia, con la propiedad modificada. O bien, esta misma instancia si la propiedad ya coincide.

Atributos

Se aplica a