Search Results for

    Show / Hide Table of Contents

    Enum PublishResultType

    A value indicating the result of publishing or unpublishing a document.

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public enum PublishResultType : byte

    Fields

    Name Description
    FailedPublish

    The operation failed.

    FailedPublishAwaitingRelease

    The document is scheduled to be released in the future and therefore we cannot force it to be published during a bulk publish operation.

    FailedPublishCancelledByEvent

    The publish action has been cancelled by an event handler.

    FailedPublishConcurrencyViolation

    The document could not be published because it has been modified by another user.

    FailedPublishContentInvalid

    The document could not be published because it contains invalid data (has not passed validation requirements).

    FailedPublishCultureAwaitingRelease

    A document culture is scheduled to be released in the future and therefore we cannot force it to be published during a bulk publish operation.

    FailedPublishCultureHasExpired

    A document culture has expired so we cannot force it to be published again as part of a bulk publish operation.

    FailedPublishHasExpired

    The document has expired so we cannot force it to be published again as part of a bulk publish operation.

    FailedPublishIsTrashed

    The document could not be published because it is in the trash.

    FailedPublishMandatoryCultureMissing

    The document could not be published because some mandatory cultures are missing.

    FailedPublishNothingToPublish

    The document could not be published because it has no publishing flags or values or if its a variant document, no cultures were specified to be published.

    FailedPublishPathNotPublished

    The document could not be published because its ancestor path is not published.

    FailedUnpublish

    The document could not be unpublished.

    FailedUnpublishCancelledByEvent

    The unpublish action has been cancelled by an event handler.

    SuccessMixedCulture

    Specified document cultures were successfully published and unpublished (in the same operation).

    SuccessPublish

    The document was successfully published.

    SuccessPublishAlready

    The document was already published.

    SuccessPublishCulture

    The specified document culture was successfully published.

    SuccessUnpublish

    The document was successfully unpublished.

    SuccessUnpublishAlready

    The document was already unpublished.

    SuccessUnpublishCulture

    The specified document culture was unpublished, the document item itself remains published.

    SuccessUnpublishLastCulture

    The specified document culture was unpublished, and was the last published culture in the document, therefore the document itself was unpublished.

    SuccessUnpublishMandatoryCulture

    The specified document culture was unpublished, and was a mandatory culture, therefore the document itself was unpublished.

    Extension Methods

    DictionaryExtensions.MergeLeft<PublishResultType, TK, TV>(IEnumerable<IDictionary<TK, TV>>, Boolean)
    DictionaryExtensions.MergeLeft<PublishResultType, TK, TV>(IDictionary<TK, TV>, Boolean)
    EnumerableExtensions.Yield<PublishResultType>()
    ObjectExtensions.AsEnumerableOfOne<PublishResultType>()
    ObjectExtensions.DisposeIfDisposable()
    ObjectExtensions.SafeCast<T>()
    ObjectExtensions.TryConvertTo<T>()
    ObjectExtensions.TryConvertTo(Type)
    ObjectExtensions.ToDictionary<PublishResultType, TProperty, TVal>(Expression<Func<PublishResultType, TProperty>>[])
    ObjectExtensions.ToDictionary<TVal>(String[])
    ObjectExtensions.ToXmlString(Type)
    ObjectExtensions.ToXmlString<T>()
    ObjectExtensions.AsGuid()
    ExpressionHelper.GetPropertyInfo<PublishResultType, TProperty>(Expression<Func<PublishResultType, TProperty>>)
    • Improve this Doc
    • View Source
    In This Article
    • Fields
    • Extension Methods
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX