CallContext::LogicalGetData Method (String^)

 

Retrieves an object with the specified name from the logical call context.

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

public:
[SecurityCriticalAttribute]
static Object^ LogicalGetData(
	String^ name
)

Parameters

name
Type: System::String^

The name of the item in the logical call context.

Return Value

Type: System::Object^

The object in the logical call context associated with the specified name.

Exception Condition
SecurityException

The immediate caller does not have infrastructure permission.

SecurityPermission

For operating with infrastructure code. Demand value: SecurityAction::LinkDemand; Permission value: SecurityPermissionFlag::Infrastructure

.NET Framework
Available since 2.0
Return to top
Show: