LogicalCallContext.SetData(String, Object) LogicalCallContext.SetData(String, Object) LogicalCallContext.SetData(String, Object) LogicalCallContext.SetData(String, Object) Method

Definition

Stores the specified object in the current instance, and associates it with the specified name.

public:
 void SetData(System::String ^ name, System::Object ^ data);
[System.Security.SecurityCritical]
public void SetData (string name, object data);
member this.SetData : string * obj -> unit
Public Sub SetData (name As String, data As Object)

Parameters

name
String String String String

The name with which to associate the new item in the call context.

data
Object Object Object Object

The object to store in the call context.

Applies to