DeploymentTraceEventArgs.AddEventData(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds data to the current event argument.
protected:
void AddEventData(System::String ^ key, System::Object ^ value);
protected void AddEventData (string key, object value);
member this.AddEventData : string * obj -> unit
Protected Sub AddEventData (key As String, value As Object)
Parameters
- key
- String
The key to use for the new data.
- value
- Object
The value of the data to add to the event argument.
Remarks
After data is added, it can be accessed through the EventData property. If the key already exists, the data is not added and no exceptions are thrown.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for