Search Results for

    Show / Hide Table of Contents
    View Source

    Class UpdateMemberProfileResult

    Represents the result of a member profile update operation.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Core.dll
    Syntax
    public class UpdateMemberProfileResult

    Properties

    View Source

    ErrorMessage

    Gets the error message if the operation failed.

    Declaration
    public string? ErrorMessage { get; }
    Property Value
    Type Description
    string
    View Source

    Status

    Gets the status of the update operation.

    Declaration
    public UpdateMemberProfileStatus Status { get; }
    Property Value
    Type Description
    UpdateMemberProfileStatus

    Methods

    View Source

    Error(string)

    Creates an error result with the specified message.

    Declaration
    public static UpdateMemberProfileResult Error(string message)
    Parameters
    Type Name Description
    string message

    The error message describing the failure.

    Returns
    Type Description
    UpdateMemberProfileResult

    A new UpdateMemberProfileResult indicating an error.

    View Source

    Success()

    Creates a successful result.

    Declaration
    public static UpdateMemberProfileResult Success()
    Returns
    Type Description
    UpdateMemberProfileResult

    A new UpdateMemberProfileResult indicating success.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX