ServiceActivationOptions.MultiplexingStream Property
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.
Gets or sets the Nerdbank.Streams.MultiplexingStream associated with the connection between the client and the service broker. This may be used to establish additional channels between client and service.
public:
property Nerdbank::Streams::MultiplexingStream ^ MultiplexingStream { Nerdbank::Streams::MultiplexingStream ^ get(); void set(Nerdbank::Streams::MultiplexingStream ^ value); };
[Newtonsoft.Json.JsonIgnore]
[System.Runtime.Serialization.IgnoreDataMember]
public Nerdbank.Streams.MultiplexingStream? MultiplexingStream { get; set; }
[Newtonsoft.Json.JsonIgnore]
[System.Runtime.Serialization.IgnoreDataMember]
[System.Text.Json.Serialization.JsonIgnore]
public Nerdbank.Streams.MultiplexingStream? MultiplexingStream { [System.Runtime.CompilerServices.IsReadOnly] get; set; }
[<Newtonsoft.Json.JsonIgnore>]
[<System.Runtime.Serialization.IgnoreDataMember>]
member this.MultiplexingStream : Nerdbank.Streams.MultiplexingStream with get, set
[<Newtonsoft.Json.JsonIgnore>]
[<System.Runtime.Serialization.IgnoreDataMember>]
[<System.Text.Json.Serialization.JsonIgnore>]
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.MultiplexingStream : Nerdbank.Streams.MultiplexingStream with get, set
Public Property MultiplexingStream As MultiplexingStream
Property Value
- Attributes
-
Newtonsoft.Json.JsonIgnoreAttribute IgnoreDataMemberAttribute JsonIgnoreAttribute IsReadOnlyAttribute
Remarks
This object is never serialized. If the service is available locally this object can be ignored by the broker and service because client and service can exchange streams directly. If the service is remote, the IRemoteServiceBroker such as MultiplexingRelayServiceBroker should set this property on the activation options before forwarding the request to the final service broker. The final service broker should then apply this value to the ServiceRpcDescriptor using WithMultiplexingStream(MultiplexingStream).