Class ReceiverOptions
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
Represents options can be set during the creation of a event hub receiver.
public class ReceiverOptions
- Inheritance
-
ReceiverOptions
- Inherited Members
Constructors
ReceiverOptions()
public ReceiverOptions()
Properties
EnableReceiverRuntimeMetric
Gets or sets a value indicating whether the runtime metric of a receiver is enabled.
public bool? EnableReceiverRuntimeMetric { get; set; }
Property Value
- bool?
true if a client wants to access ReceiverRuntimeInfo using EventHubReceiver.
Identifier
Gets or sets the identifier of a receiver.
public string Identifier { get; set; }
Property Value
- string
A string representing the identifier of a receiver. It will return null if the identifier is not set.
Exceptions
- ArgumentException
Thrown if the length of the value is greater than the maximum length of 64.