Partilhar via


ManagedSessionState.GetObjectInSession Method

Definition

Overloads

GetObjectInSession(ManagedSessionState+ObjectKey)
GetObjectInSession<T>(ManagedSessionState+ObjectKey, Func<T>)

GetObjectInSession(ManagedSessionState+ObjectKey)

public:
 System::Object ^ GetObjectInSession(Microsoft::Dynamics::Ax::Xpp::ManagedSessionState::ObjectKey objectKey);
public object GetObjectInSession (Microsoft.Dynamics.Ax.Xpp.ManagedSessionState.ObjectKey objectKey);
member this.GetObjectInSession : Microsoft.Dynamics.Ax.Xpp.ManagedSessionState.ObjectKey -> obj
Public Function GetObjectInSession (objectKey As ManagedSessionState.ObjectKey) As Object

Parameters

Returns

Applies to

GetObjectInSession<T>(ManagedSessionState+ObjectKey, Func<T>)

public:
generic <typename T>
 T GetObjectInSession(Microsoft::Dynamics::Ax::Xpp::ManagedSessionState::ObjectKey objectKey, Func<T> ^ newObjectInSessionFunc);
public T GetObjectInSession<T> (Microsoft.Dynamics.Ax.Xpp.ManagedSessionState.ObjectKey objectKey, Func<T> newObjectInSessionFunc);
member this.GetObjectInSession : Microsoft.Dynamics.Ax.Xpp.ManagedSessionState.ObjectKey * Func<'T> -> 'T
Public Function GetObjectInSession(Of T) (objectKey As ManagedSessionState.ObjectKey, newObjectInSessionFunc As Func(Of T)) As T

Type Parameters

T

Parameters

newObjectInSessionFunc
Func<T>

Returns

T

Applies to