CallContext::LogicalGetData Method (String^)
.NET Framework (current version)
Retrieves an object with the specified name from the logical call context.
Assembly: mscorlib (in mscorlib.dll)
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
Available since 2.0
Show: