Partilhar via


ServiceRpcDescriptor.WithMultiplexingStream(MultiplexingStream) Método

Definição

Cuidado

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

Retorna uma instância de ServiceRpcDescriptor que se assemelha a esta, mas com a MultiplexingStream propriedade definida como o valor especificado e Nerdbank.Streams.MultiplexingStream.Options definida nullcomo .

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

O Nerdbank.Streams.MultiplexingStream que pode ser usado por clientes ou servidores construídos.

Retornos

Um clone dessa instância, com a propriedade alterada. Ou essa mesma instância se a propriedade já corresponder.

Atributos

Aplica-se a