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);
public static object LogicalGetData (string name);
[System.Security.SecurityCritical]
public static object LogicalGetData (string name);
static member LogicalGetData : string -> obj
[<System.Security.SecurityCritical>]
static member LogicalGetData : string -> obj
Public Shared Function LogicalGetData (name As String) As Object

Parameters

name
String

The name of the item in the logical call context.

Returns

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

Attributes

Exceptions

The immediate caller does not have infrastructure permission.

Applies to