TelemetrySession.SetPersistedSharedProperty 方法

定义

重载

SetPersistedSharedProperty(String, String)

为会话设置持久化共享属性意味着为此会话的默认上下文以及计算机上的任何未来会话设置共享属性。

SetPersistedSharedProperty(String, Double)

为会话设置持久化共享属性意味着为此会话的默认上下文以及计算机上的任何未来会话设置共享属性。

SetPersistedSharedProperty(String, String)

为会话设置持久化共享属性意味着为此会话的默认上下文以及计算机上的任何未来会话设置共享属性。

public:
 void SetPersistedSharedProperty(System::String ^ propertyName, System::String ^ propertyValue);
public void SetPersistedSharedProperty (string propertyName, string propertyValue);
member this.SetPersistedSharedProperty : string * string -> unit
Public Sub SetPersistedSharedProperty (propertyName As String, propertyValue As String)

参数

propertyName
String
propertyValue
String

适用于

SetPersistedSharedProperty(String, Double)

为会话设置持久化共享属性意味着为此会话的默认上下文以及计算机上的任何未来会话设置共享属性。

public:
 void SetPersistedSharedProperty(System::String ^ propertyName, double propertyValue);
public void SetPersistedSharedProperty (string propertyName, double propertyValue);
member this.SetPersistedSharedProperty : string * double -> unit
Public Sub SetPersistedSharedProperty (propertyName As String, propertyValue As Double)

参数

propertyName
String
propertyValue
Double

适用于