Click or drag to resize
RelationshipNameSiteInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
Asynchronously gets an instance of the RelationshipNameSiteInfo binding structure.

Namespace: CMS.Relationships
Assembly: CMS.Relationships (in CMS.Relationships.dll) Version: 13.0.131
Syntax
C#
public virtual Task<RelationshipNameSiteInfo> GetAsync(
	int relationshipNameId,
	int siteId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

relationshipNameId
Type: SystemInt32
Relationship name ID.
siteId
Type: SystemInt32
Site ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskRelationshipNameSiteInfo
Returns a task returning either an instance of RelationshipNameSiteInfo corresponding to given identifiers or null.

Implements

IRelationshipNameSiteInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also