ManagedSessionState.GetObjectInSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- objectKey
- ManagedSessionState.ObjectKey
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
- objectKey
- ManagedSessionState.ObjectKey
- newObjectInSessionFunc
- Func<T>
Returns
T