CorrelationKey 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表應用程式資料與實例之間的關聯。
public ref class CorrelationKey sealed : System::Runtime::DurableInstancing::InstanceKey
public sealed class CorrelationKey : System.Runtime.DurableInstancing.InstanceKey
type CorrelationKey = class
inherit InstanceKey
Public NotInheritable Class CorrelationKey
Inherits InstanceKey
- 繼承
備註
金鑰資料通常取自一則 MessageQuerySet包含在 . 接著利用金鑰資料的雜湊值生成 。CorrelationKey 相關性以 a CorrelationKey 與實例 ID 之間的映射表示。
建構函式
| 名稱 | Description |
|---|---|
| CorrelationKey(IDictionary<String,String>, XName, XNamespace) |
使用指定的金鑰資料、作用域名稱和提供者初始化該類別的新實例 CorrelationKey 。 |
屬性
| 名稱 | Description |
|---|---|
| IsValid |
會獲得一個值,表示實例鍵值是否有效。 (繼承來源 InstanceKey) |
| KeyData |
取得關鍵資料字典。 |
| KeyString |
取得 String 關鍵資料的表示。 |
| Metadata |
取得包含與實例金鑰相關元資料的字典。 (繼承來源 InstanceKey) |
| Name |
取得或設定 的名稱。CorrelationKey |
| Provider |
取得提供者。 |
| ScopeName |
獲得了瞄準鏡的名稱。 |
| Value |
取得與目前實例鍵相關聯的 GUID 值。 (繼承來源 InstanceKey) |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
比較目前物件(儲存在屬性中 Value )的 GUID,與物件 InstanceKey 相關的 GUID。 (繼承來源 InstanceKey) |
| GetHashCode() |
回傳目前 InstanceKey 物件 GUID(儲存在 Value 屬性)的唯一雜湊碼。 (繼承來源 InstanceKey) |
| GetType() |
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object的淺層複本。 (繼承來源 Object) |
| ToString() |
傳回表示目前 物件的字串。 (繼承來源 Object) |