SourceMetadata Class
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.
Represents metadata about the source (i.e. channel) of an invocation.
public sealed class SourceMetadata : IEquatable<Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.SourceMetadata>
type SourceMetadata = class
interface IEquatable<SourceMetadata>
Public NotInheritable Class SourceMetadata
Implements IEquatable(Of SourceMetadata)
- Inheritance
-
SourceMetadata
- Implements
Constructors
| Name | Description |
|---|---|
| SourceMetadata(String, Nullable<Role>, String, String) |
Initializes a new instance of the SourceMetadata class. |
Properties
| Name | Description |
|---|---|
| Description |
Gets an optional description for the source. |
| Id |
Gets the unique identifier for the source. |
| Name |
Gets the human-readable name for the source. |
| Role |
Gets the role associated with the source. |
Methods
| Name | Description |
|---|---|
| Deconstruct(String, String, Nullable<Role>, String) |
Deconstructs this instance for tuple deconstruction support. |
| Equals(Object) | Determines whether the specified object is equal to the current object. |
| Equals(SourceMetadata) | Indicates whether the current object is equal to another object of the same type. |
| GetHashCode() | Serves as the default hash function. |