Skip to main content
.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.v24.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