API Reference > OdDAI Namespace > Classes > SessionValidationNotifier Class > SessionValidationNotifier Methods > onValidationResult Method > SessionValidationNotifier::onValidationResult Method (OdDAIObjectId, ValidationTaskPtr, OdSharedPtr<ValidationTask::InvalidValidationParamsBase>, Logical)
SessionValidationNotifier::onValidationResult Method (OdDAIObjectId, ValidationTaskPtr, OdSharedPtr<ValidationTask::InvalidValidationParamsBase>, Logical)
Syntax
C++
virtual void onValidationResult(OdDAIObjectId instanceId, ValidationTaskPtr validationTask, OdSharedPtr<ValidationTask::InvalidValidationParamsBase> invalidParams, Logical result);
Parameters 
Description 
OdDAIObjectId instanceId 
[in] OdDAI object identifier of the entity instance.  
ValidationTaskPtr validationTask 
[in] A smart pointer to validation class definition.  
OdSharedPtr<ValidationTask::InvalidValidationParamsBase> invalidParams 
[in] The struct with arrays of pointers to instances with validation problems.  
Logical result 
[in] Result of validation. 

Notifies some validation information to the Session class.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.