Skip to main content
A newer version of this page is available. .

Session.FindObjectAsync Method

Name Parameters Description
FindObjectAsync(XPClassInfo, CriteriaOperator, AsyncFindObjectCallback) classInfo, criteria, callback Asynchronously searches for the first object which matches the specified criteria, and notifies upon completion.
FindObjectAsync(XPClassInfo, CriteriaOperator, Boolean, AsyncFindObjectCallback) classInfo, criteria, selectDeleted, callback Asynchronously searches for the first object which matches the specified criteria, and notifies upon completion.
FindObjectAsync(XPClassInfo, CriteriaOperator, Boolean, CancellationToken) classInfo, criteria, selectDeleted, cancellationToken Asynchronously searches for the first object that matches the specified criteria.
FindObjectAsync(XPClassInfo, CriteriaOperator, CancellationToken) classInfo, criteria, cancellationToken Asynchronously searches for the first object that matches the specified criteria.
FindObjectAsync(PersistentCriteriaEvaluationBehavior, XPClassInfo, CriteriaOperator, AsyncFindObjectCallback) criteriaEvaluationBehavior, classInfo, criteria, callback Asynchronously searches for the first object which matches the specified criteria, and notifies upon completion.
FindObjectAsync(PersistentCriteriaEvaluationBehavior, XPClassInfo, CriteriaOperator, Boolean, AsyncFindObjectCallback) criteriaEvaluationBehavior, classInfo, criteria, selectDeleted, callback Asynchronously searches for the first object which matches the specified criteria, and notifies upon completion.
FindObjectAsync(PersistentCriteriaEvaluationBehavior, XPClassInfo, CriteriaOperator, Boolean, CancellationToken) criteriaEvaluationBehavior, classInfo, criteria, selectDeleted, cancellationToken Asynchronously searches for the first object that matches the specified criteria.
FindObjectAsync(PersistentCriteriaEvaluationBehavior, Type, CriteriaOperator, CancellationToken) criteriaEvaluationBehavior, objType, criteria, cancellationToken Asynchronously searches for the first object that matches the specified criteria.
FindObjectAsync(Type, CriteriaOperator, Boolean, CancellationToken) classType, criteria, selectDeleted, cancellationToken Asynchronously searches for the first object that matches the specified criteria.
FindObjectAsync(Type, CriteriaOperator, CancellationToken) classType, criteria, cancellationToken Asynchronously searches for the first object that matches the specified criteria.
FindObjectAsync<ClassType>(CriteriaOperator, AsyncFindObjectCallback) criteria, callback Asynchronously searches for the first object which matches the specified criteria and has the type designated by the generic type parameter, and notifies upon completion.
FindObjectAsync<ClassType>(CriteriaOperator, Boolean, AsyncFindObjectCallback) criteria, selectDeleted, callback Asynchronously searches for the first object which matches the specified criteria and has the type designated by the generic type parameter, and notifies upon completion.
FindObjectAsync<ClassType>(CriteriaOperator, Boolean, CancellationToken) criteria, selectDeleted, cancellationToken Asynchronously searches for the first object that matches the specified criteria. This object’s type is designated by the specified generic parameter.
FindObjectAsync<ClassType>(CriteriaOperator, CancellationToken) criteria, cancellationToken Asynchronously searches for the first object that matches the specified criteria. This object’s type is designated by the specified generic parameter.
FindObjectAsync<ClassType>(PersistentCriteriaEvaluationBehavior, CriteriaOperator, AsyncFindObjectCallback) criteriaEvaluationBehavior, criteria, callback Asynchronously searches for the first object which matches the specified criteria and has the type designated by the generic type parameter, and notifies upon completion.
FindObjectAsync<ClassType>(PersistentCriteriaEvaluationBehavior, CriteriaOperator, CancellationToken) criteriaEvaluationBehavior, criteria, cancellationToken Asynchronously searches for the first object that matches the specified criteria. This object’s type is designated by the specified generic parameter.