ServiceRpcDescriptor.WithMultiplexingStream(MultiplexingStream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use the WithMultiplexingStream(MultiplexingStream.Options) overload as may be defined in a derived type instead.
Returns an instance of ServiceRpcDescriptor that resembles this one,
but with the MultiplexingStream property set to the specified value and Nerdbank.Streams.MultiplexingStream.Options set to 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
Parameters
- multiplexingStream
- Nerdbank.Streams.MultiplexingStream
The Nerdbank.Streams.MultiplexingStream that may be used by constructed clients or servers.
Returns
A clone of this instance, with the property changed. Or this same instance if the property already matches.
- Attributes