Struct StartTLSPolicy
The StartTLSPolicy setting of the SMTP configuration https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Grafana.dll
Syntax
public struct StartTLSPolicy : IEquatable<Azure.ResourceManager.Grafana.Models.StartTLSPolicy>
Constructors
StartTLSPolicy(String)
Initializes a new instance of StartTLSPolicy.
Declaration
public StartTLSPolicy (string value);
Parameters
System.String
value
|
Exceptions
System.ArgumentNullException
|
Properties
MandatoryStartTLS
MandatoryStartTLS.
Declaration
public static Azure.ResourceManager.Grafana.Models.StartTLSPolicy MandatoryStartTLS { get; }
Property Value
StartTLSPolicy
|
NoStartTLS
NoStartTLS.
Declaration
public static Azure.ResourceManager.Grafana.Models.StartTLSPolicy NoStartTLS { get; }
Property Value
StartTLSPolicy
|
OpportunisticStartTLS
OpportunisticStartTLS.
Declaration
public static Azure.ResourceManager.Grafana.Models.StartTLSPolicy OpportunisticStartTLS { get; }
Property Value
StartTLSPolicy
|
Methods
Equals(StartTLSPolicy)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.ResourceManager.Grafana.Models.StartTLSPolicy other);
Parameters
StartTLSPolicy
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(StartTLSPolicy, StartTLSPolicy)
Determines if two StartTLSPolicy values are the same.
Declaration
public static bool operator == (Azure.ResourceManager.Grafana.Models.StartTLSPolicy left, Azure.ResourceManager.Grafana.Models.StartTLSPolicy right);
Parameters
StartTLSPolicy
left
|
StartTLSPolicy
right
|
Returns
System.Boolean
|
Implicit(String to StartTLSPolicy)
Converts a System.String to a StartTLSPolicy.
Declaration
public static implicit operator Azure.ResourceManager.Grafana.Models.StartTLSPolicy (string value);
Parameters
System.String
value
|
Returns
StartTLSPolicy
|
Inequality(StartTLSPolicy, StartTLSPolicy)
Determines if two StartTLSPolicy values are not the same.
Declaration
public static bool operator != (Azure.ResourceManager.Grafana.Models.StartTLSPolicy left, Azure.ResourceManager.Grafana.Models.StartTLSPolicy right);
Parameters
StartTLSPolicy
left
|
StartTLSPolicy
right
|
Returns
System.Boolean
|