Struct SubscriberMessageDropStrategy
The enum defining strategies for dropping messages from the subscriber queue.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.IotOperations.dll
Syntax
public struct SubscriberMessageDropStrategy : IEquatable<Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy>
Constructors
SubscriberMessageDropStrategy(String)
Initializes a new instance of SubscriberMessageDropStrategy.
Declaration
public SubscriberMessageDropStrategy (string value);
Parameters
|
System.String
value
|
Exceptions
|
System.ArgumentNullException
|
Properties
DropOldest
The oldest message is dropped.
Declaration
public static Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy DropOldest { get; }
Property Value
|
SubscriberMessageDropStrategy
|
None
Messages are never dropped.
Declaration
public static Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy None { get; }
Property Value
|
SubscriberMessageDropStrategy
|
Methods
Equals(SubscriberMessageDropStrategy)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy other);
Parameters
|
SubscriberMessageDropStrategy
other
An object to compare with this object. |
Returns
|
System.Boolean
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
|
System.Object
obj
The object to compare with the current instance. |
Returns
|
System.Boolean
|
GetHashCode()
Returns the hash code for this instance.
Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
|
System.Int32
A 32-bit signed integer that is the hash code for this instance. |
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString ();
Returns
|
System.String
The fully qualified type name. |
Operators
Equality(SubscriberMessageDropStrategy, SubscriberMessageDropStrategy)
Determines if two SubscriberMessageDropStrategy values are the same.
Declaration
public static bool operator == (Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy left, Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy right);
Parameters
|
SubscriberMessageDropStrategy
left
|
|
SubscriberMessageDropStrategy
right
|
Returns
|
System.Boolean
|
Implicit(String to SubscriberMessageDropStrategy)
Converts a System.String to a SubscriberMessageDropStrategy.
Declaration
public static implicit operator Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy (string value);
Parameters
|
System.String
value
|
Returns
|
SubscriberMessageDropStrategy
|
Inequality(SubscriberMessageDropStrategy, SubscriberMessageDropStrategy)
Determines if two SubscriberMessageDropStrategy values are not the same.
Declaration
public static bool operator != (Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy left, Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy right);
Parameters
|
SubscriberMessageDropStrategy
left
|
|
SubscriberMessageDropStrategy
right
|
Returns
|
System.Boolean
|