Class VssComponentFailure
Represents a component-level error reported by writers.
Inherited Members
Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common.dll
Syntax
[Serializable]
public class VssComponentFailure
Constructors
| Improve this Doc View SourceVssComponentFailure(Int32, Int32, String)
Initializes a new instance of the VssComponentFailure class.
Declaration
public VssComponentFailure(int errorCode, int applicationErrorCode, string applicationMessage)
Parameters
Type | Name | Description |
---|---|---|
Int32 | errorCode | The error code. |
Int32 | applicationErrorCode | The application error code. |
String | applicationMessage | The application message. |
Properties
| Improve this Doc View SourceApplicationErrorCode
Gets the additional error code if provided by the writer.
Declaration
public int ApplicationErrorCode { get; }
Property Value
Type | Description |
---|---|
Int32 |
ApplicationMessage
Gets an error message for the requester to display to the end user. The writer is responsible for localizing this string if necessary before using it in this method. This parameter is optional and can be null or an empty string.
Declaration
public string ApplicationMessage { get; }
Property Value
Type | Description |
---|---|
String |
ErrorCode
Gets the HRESULT failure code that the writer passed for the hr parameter of the IVssComponentEx2::SetFailure method.
Declaration
public int ErrorCode { get; }
Property Value
Type | Description |
---|---|
Int32 |