RelationshipInfoProviderGetAsync Method (Int32, Int32, Int32, NullableCancellationToken) |
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public virtual Task<RelationshipInfo> GetAsync(
int leftNodeId,
int rightNodeId,
int relationshipNameId,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- leftNodeId
- Type: SystemInt32
ID of left node. - rightNodeId
- Type: SystemInt32
ID of right node. - relationshipNameId
- Type: SystemInt32
ID of relationship name. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation instruction.
Return Value
Type:
TaskRelationshipInfoReturns a task returning either an instance of
RelationshipInfo corresponding to given identifiers or null.
Implements
IRelationshipInfoProviderGetAsync(Int32, Int32, Int32, NullableCancellationToken)See Also