ImplicitChannelSubscriptionAttribute Constructors
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.
Overloads
ImplicitChannelSubscriptionAttribute() |
Used to subscribe to all stream namespaces. |
ImplicitChannelSubscriptionAttribute(IChannelNamespacePredicate, String) |
Allows to pass an instance of the stream namespace predicate. To be used mainly as an extensibility point via inheriting attributes. |
ImplicitChannelSubscriptionAttribute(String, String) |
Used to subscribe to the specified stream namespace. |
ImplicitChannelSubscriptionAttribute(Type, String) |
Allows to pass an arbitrary predicate type to filter stream namespaces to subscribe. The predicate type must have a constructor without parameters. |
ImplicitChannelSubscriptionAttribute()
Used to subscribe to all stream namespaces.
public ImplicitChannelSubscriptionAttribute ();
Public Sub New ()
Applies to
ImplicitChannelSubscriptionAttribute(IChannelNamespacePredicate, String)
Allows to pass an instance of the stream namespace predicate. To be used mainly as an extensibility point via inheriting attributes.
public ImplicitChannelSubscriptionAttribute (Orleans.BroadcastChannel.IChannelNamespacePredicate predicate, string channelIdMapper = default);
new Orleans.ImplicitChannelSubscriptionAttribute : Orleans.BroadcastChannel.IChannelNamespacePredicate * string -> Orleans.ImplicitChannelSubscriptionAttribute
Public Sub New (predicate As IChannelNamespacePredicate, Optional channelIdMapper As String = Nothing)
Parameters
- predicate
- IChannelNamespacePredicate
The stream namespace predicate.
- channelIdMapper
- String
The name of the stream identity mapper.
Applies to
ImplicitChannelSubscriptionAttribute(String, String)
Used to subscribe to the specified stream namespace.
public ImplicitChannelSubscriptionAttribute (string streamNamespace, string channelIdMapper = default);
new Orleans.ImplicitChannelSubscriptionAttribute : string * string -> Orleans.ImplicitChannelSubscriptionAttribute
Public Sub New (streamNamespace As String, Optional channelIdMapper As String = Nothing)
Parameters
- streamNamespace
- String
The stream namespace to subscribe.
- channelIdMapper
- String
The name of the stream identity mapper.
Applies to
ImplicitChannelSubscriptionAttribute(Type, String)
Allows to pass an arbitrary predicate type to filter stream namespaces to subscribe. The predicate type must have a constructor without parameters.
public ImplicitChannelSubscriptionAttribute (Type predicateType, string channelIdMapper = default);
new Orleans.ImplicitChannelSubscriptionAttribute : Type * string -> Orleans.ImplicitChannelSubscriptionAttribute
Public Sub New (predicateType As Type, Optional channelIdMapper As String = Nothing)
Parameters
- predicateType
- Type
The stream namespace predicate type.
- channelIdMapper
- String
The name of the stream identity mapper.