CallContext.LogicalGetData(String) CallContext.LogicalGetData(String) CallContext.LogicalGetData(String) CallContext.LogicalGetData(String) Method

Definition

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

public:
 static System::Object ^ LogicalGetData(System::String ^ name);
[System.Security.SecurityCritical]
public static object LogicalGetData (string name);
static member LogicalGetData : string -> obj
Public Shared Function LogicalGetData (name As String) As Object

Parameters

name
String String String String

The name of the item in the logical call context.

Returns

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

Exceptions

The immediate caller does not have infrastructure permission.

Security

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

Applies to