共用方式為


TelemetrySession.AddCommonPropertyRange 方法

定義

新增可能適用於所有會話事件的屬性,但不應該有 Default.Context 前置詞。 在工作階段之間不會保存屬性。 若要新增單一屬性,請參閱 TryAddCommonProperty(String, Object)

public void AddCommonPropertyRange (System.Collections.Generic.IDictionary<string,object> properties);
member this.AddCommonPropertyRange : System.Collections.Generic.IDictionary<string, obj> -> unit
Public Sub AddCommonPropertyRange (properties As IDictionary(Of String, Object))

參數

properties
IDictionary<String,Object>

例外狀況

當屬性、索引鍵或值為 Null 時擲回

當屬性索引鍵或值為 Null 時擲回

適用於