Class Failure
Details of a failure.
Inheritance
System.Object
Failure
Implements
Namespace: OpenText.Fusion.AdapterSdk.Api
Assembly: OpenText.Fusion.AdapterSdk.Api.dll
Syntax
public class Failure : object, IFailure
Remarks
Class used to record errors during processing of a repository command. Allows to capture a failure id and message for reporting in Fusion.
Constructors
Failure(String, String)
Initializes a new instance of the Failure class.
Declaration
public Failure(string id, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The failure id |
System.String | message | The failure message as a composite format string. |
Properties
Id
Gets the failure id.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String | The failure id. |
Message
Gets the failure message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String | The message. |