Class DiagnosticSettings
Provides configuration settings for service tracing and diagnostics.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class DiagnosticSettings : IValidator, IEquatable<DiagnosticSettings>, IExtensibleDataObject
Constructors
DiagnosticSettings()
Initializes an empty instance.
Declaration
public DiagnosticSettings()
Properties
AuthorizationTraceEnabled
Gets or sets flag indicating that authorization rules execution needs to be recorded.
Declaration
public bool AuthorizationTraceEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
ErrorMessage
Gets the summary of validation errors.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
String |
ExtensionData
Gets or sets ExtensionDataObject that enables serialization roundtrips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Type | Description |
---|---|
ExtensionDataObject |
MessagePipelineTraceEnabled
Gets or sets the flag indicating that pipeline execution must be logged and recorded. Default is False.
Declaration
public bool MessagePipelineTraceEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
OAuthTraceEnabled
Gets or sets the flag indicating that activities associated with OAuth/OpenID Connect authentication provided by WebOAuthSecurityBindingElementExtension binding must be logged and recorded.
Declaration
public bool OAuthTraceEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Equals(DiagnosticSettings)
Determines whether the provided object is equal to the current object.
Declaration
public bool Equals(DiagnosticSettings other)
Parameters
Type | Name | Description |
---|---|---|
DiagnosticSettings | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | True, if objects are equal. False, if objects are not equal. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | Hash code of the current instance. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |