TelemetrySession.AddCommonPropertyRange 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
新增可能適用於所有會話事件的屬性,但不應該有 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 時擲回