Activity.DisplayName Activity.DisplayName Activity.DisplayName Activity.DisplayName Property

定義

取得或設定選擇性的易記名稱,這個名稱會用於偵錯、驗證、例外狀況處理及追蹤。Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.

public:
 property System::String ^ DisplayName { System::String ^ get(); void set(System::String ^ value); };
public string DisplayName { get; set; }
member this.DisplayName : string with get, set
Public Property DisplayName As String

屬性值

易記名稱,這個名稱會用於偵錯、驗證、例外處理及追蹤。A friendly name that is used for debugging, validation, exception handling, and tracking.

備註

在執行階段時,這個屬性是唯讀的。This property is read-only at runtime.

適用於