Class StatusInfo
A helper class that holds collections of logging information. Used in mirroring and import/export.
Inheritance
Inherited Members
Namespace: EPiServer.Util
Assembly: EPiServer.dll
Version: 7.19.2Syntax
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 |
ExportedPagesId
Gets the exported pages identifier on a serializable format.
Declaration
[Obsolete("This method is obsolete. Use GetInformationLog(StatusInfoAction.Exported) insted", false)]
public StringCollection ExportedPagesId { get; }
Property Value
Type | Description |
---|---|
System.Collections.Specialized.StringCollection | The imported pages ididentifier. |
Remarks
This collection is not thread safe use the StringCollections property SyncRoot when modifying it.
ImportedPagesId
Gets the imported pages identifier on a serializable format.
Declaration
[Obsolete("This method is obsolete. Use GetInformationLog(StatusInfoAction.Imported) insted", false)]
public StringCollection ImportedPagesId { get; }
Property Value
Type | Description |
---|---|
System.Collections.Specialized.StringCollection | The imported pages ididentifier. |
Remarks
This collection is not thread safe use the StringCollections property SyncRoot when modifying it.
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 |