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

    SerializableObjectLayerClient.CreateObjectTypeAsync(XPObjectType, CancellationToken) Method

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

    Namespace: DevExpress.Xpo

    Assembly: DevExpress.Xpo.v25.1.dll

    #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