LogicalCallContext.SetData(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.
Stores the specified object in the current instance, and associates it with the specified name.
public:
void SetData(System::String ^ name, System::Object ^ data);
public void SetData (string name, object data);
[System.Security.SecurityCritical]
public void SetData (string name, object data);
member this.SetData : string * obj -> unit
[<System.Security.SecurityCritical>]
member this.SetData : string * obj -> unit
Public Sub SetData (name As String, data As Object)
Parameters
- name
- String
The name with which to associate the new item in the call context.
- data
- Object
The object to store in the call context.
- Attributes
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.