Class OperationReport
- Namespace
- Dynamicweb.Content.Files.Information
- Assembly
- Dynamicweb.dll
This class used for operation report handling.
[Obsolete("Use ApplicationResponse instead.")]
public class OperationReport
- Inheritance
-
OperationReport
- Inherited Members
Remarks
To switch to using ApplicationResponse one can use the new class as such:
Dim report As New ApplicationResponse(Of Collection(Of Message))(False, New Collection(Of Message))
Constructors
OperationReport()
[Obsolete("Use ApplicationResponse instead.")]
public OperationReport()
Properties
Messages
Returnes message collection.
[Obsolete("Use ApplicationResponse instead.")]
public MessageCollection Messages { get; }
Property Value
- MessageCollection
- MassageCollection
OperationSucceeded
Determins whether operation is succeeded or not.
[Obsolete("Use ApplicationResponse instead.")]
public bool OperationSucceeded { get; set; }
Property Value
- bool
- Boolean
Methods
AddMessage(MessageType, string)
Adds new message to the Message Collection.
[Obsolete("Use ApplicationResponse instead.")]
public void AddMessage(MessageType MessageType, string Message)
Parameters
MessageType
MessageTypeMessage
string