The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.GetObjectByKeyAsync Method

Name Description
GetObjectByKeyAsync(Type, Object, Boolean, CancellationToken)

Asynchronously returns a persistent object that has the specified key property value from a data store.

GetObjectByKeyAsync(Type, Object, CancellationToken)

Asynchronously returns a persistent object that has the specified key property value.

GetObjectByKeyAsync(XPClassInfo, Object, Boolean, CancellationToken)

Asynchronously returns a persistent object that has the specified key property value from a data store.

GetObjectByKeyAsync(XPClassInfo, Object, CancellationToken)

Asynchronously returns a persistent object that has the specified key property value.

GetObjectByKeyAsync<ClassType>(Object, Boolean, CancellationToken)

Asynchronously returns a persistent object that has the specified key property value. The persistent object's type is set by the generic type parameter.

GetObjectByKeyAsync<ClassType>(Object, CancellationToken)

Asynchronously returns a persistent object that has the specified key property value. The persistent object's type is set by the generic type parameter.