Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LogicalCallContext::SetData Method (String^, Object^)

 

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

Namespace:   System.Runtime.Remoting.Messaging
Assembly:  mscorlib (in mscorlib.dll)

public:
[SecurityCriticalAttribute]
void SetData(
	String^ name,
	Object^ data
)

Parameters

name
Type: System::String^

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

data
Type: System::Object^

The object to store in the call context.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft