Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

SessionObjectLayer.CreateObjectTypeAsync(XPObjectType, CancellationToken) Method

Asynchronously performs object layer specific operations that are required to create an XPObjectType record.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public Task CreateObjectTypeAsync(
    XPObjectType type,
    CancellationToken cancellationToken
)

Parameters

Name Type Description
type XPObjectType

An XPObjectType object specifying a valid persistent type.

cancellationToken CancellationToken

A CancellationToken object that delivers a cancellation notice to the running operation.

Returns

Type Description
Task

A Task that performs object layer specific operations that are required to create an XPObjectType record.

See Also