CacheContainerKey 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.
A key to identify cache containers, the key data is used to link the container to a commit, component or configuration.
public ref class CacheContainerKey sealed
public value class CacheContainerKey : IEquatable<Microsoft::VisualStudio::RpcContracts::Caching::CacheContainerKey>
[System.Runtime.Serialization.DataContract]
public sealed class CacheContainerKey
[System.Runtime.Serialization.DataContract]
public readonly struct CacheContainerKey : IEquatable<Microsoft.VisualStudio.RpcContracts.Caching.CacheContainerKey>
[<System.Runtime.Serialization.DataContract>]
type CacheContainerKey = class
[<System.Runtime.Serialization.DataContract>]
type CacheContainerKey = struct
Public NotInheritable Class CacheContainerKey
Public Structure CacheContainerKey
Implements IEquatable(Of CacheContainerKey)
- Inheritance
-
CacheContainerKey
- Inheritance
-
CacheContainerKey
- Attributes
- Implements
Constructors
| CacheContainerKey(String, IReadOnlyDictionary<String,String>) |
Initializes a new instance of the CacheContainerKey struct. |
| CacheContainerKey(String, String, String) |
Initializes a new instance of the CacheContainerKey class. |
Fields
| Empty |
A key that represents an uninitialized entry. |
Properties
| CommitId |
Gets the commit id that this container is linked to. |
| Component |
Gets the feature that owns the container. |
| Configuration |
Gets the target configuration this container would apply to. |
| Dimensions |
Gets a dictionary of arbitrary key=value pairs that serve as part of the "key" to the container. |
Methods
| Equals(CacheContainerKey) | Indicates whether the current object is equal to another object of the same type. |
| Equals(Object) | |
| GetHashCode() | Serves as the default hash function. |
Operators
| Equality(CacheContainerKey, CacheContainerKey) |
Operator override for ==. |
| Inequality(CacheContainerKey, CacheContainerKey) |
Operator override for !=. |