Skip to main content
All docs
V25.1
  • .NET Framework 4.6.2+

    IObjectLayerAsync.CreateObjectTypeAsync(XPObjectType, CancellationToken) Method

    When implemented by a class, asynchronously creates an XPObjectType record.

    Namespace: DevExpress.Xpo

    Assembly: DevExpress.Xpo.v25.1.dll

    NuGet Package: DevExpress.Xpo

    Declaration

    Task CreateObjectTypeAsync(
        XPObjectType objectType,
        CancellationToken cancellationToken = default(CancellationToken)
    )

    Parameters

    Name Type Description
    objectType XPObjectType

    An XPObjectType object specifying a valid persistent type.

    Optional Parameters

    Name Type Default Description
    cancellationToken CancellationToken null

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

    Returns

    Type Description
    Task

    A Task that creates an XPObjectType record.

    See Also