編集

次の方法で共有


Activity.TrackData Method

Definition

Informs the run-time tracking infrastructure of pending tracking information.

Overloads

TrackData(Object)

Informs the run-time tracking infrastructure of pending tracking information.

TrackData(String, Object)

Informs the run-time tracking infrastructure of pending tracking information.

TrackData(Object)

Informs the run-time tracking infrastructure of pending tracking information.

protected:
 void TrackData(System::Object ^ userData);
protected void TrackData(object userData);
member this.TrackData : obj -> unit
Protected Sub TrackData (userData As Object)

Parameters

userData
Object

Object that contains the tracking information.

Exceptions

userData is a null reference (Nothing in Visual Basic).

Applies to

TrackData(String, Object)

Informs the run-time tracking infrastructure of pending tracking information.

protected:
 void TrackData(System::String ^ userDataKey, System::Object ^ userData);
protected void TrackData(string userDataKey, object userData);
member this.TrackData : string * obj -> unit
Protected Sub TrackData (userDataKey As String, userData As Object)

Parameters

userDataKey
String

The key to the user data that has changed.

userData
Object

Object that contains the tracking information.

Exceptions

userData is a null reference (Nothing in Visual Basic).

Applies to