Class StatusInfo

A helper class that holds collections of logging information. Used in mirroring and import/export.

Inheritance
System.Object
StatusInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Util
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class StatusInfo

Constructors

StatusInfo()

Initializes a new instance of the StatusInfo class.

Declaration
public StatusInfo()

Properties

Errors

A collection of error messages

Declaration
public StringCollection Errors { get; }
Property Value
Type Description
System.Collections.Specialized.StringCollection

ProgressLog

A collection of progress messages

Declaration
public StringCollection ProgressLog { get; }
Property Value
Type Description
System.Collections.Specialized.StringCollection

Warnings

A collection of warnings

Declaration
public StringCollection Warnings { get; }
Property Value
Type Description
System.Collections.Specialized.StringCollection

Methods

Clear()

Clear all logs

Declaration
public void Clear()

Clear(StatusInfo.StatusInfoAction)

Clear all logs of a specific type

Declaration
public void Clear(StatusInfo.StatusInfoAction action)
Parameters
Type Name Description
StatusInfo.StatusInfoAction action

The type to clear

CopyTo(StatusInfo)

Copy all logs to another instance

Declaration
public void CopyTo(StatusInfo info)
Parameters
Type Name Description
StatusInfo info

The target for the operation

GetInformationLog(StatusInfo.StatusInfoAction)

Gets the information about a specific action

Declaration
public StringCollection GetInformationLog(StatusInfo.StatusInfoAction action)
Parameters
Type Name Description
StatusInfo.StatusInfoAction action

The action type

Returns
Type Description
System.Collections.Specialized.StringCollection

A list of messages

Extension Methods