LogicalCallContext.SetData Method (String, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

[SecurityCriticalAttribute]
public 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: