Show / Hide Table of Contents

Class Failure

Details of a failure.

Inheritance
object
Failure
Implements
IFailure
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenText.Fusion.AdapterSdk.Api
Assembly: OpenText.Fusion.AdapterSdk.Api.dll
Syntax
public class Failure : 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
string id

The failure id

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
string

The failure id.

Message

Gets the failure message.

Declaration
public string Message { get; }
Property Value
Type Description
string

The message.

Implements

IFailure
In this article
Back to top Generated by DocFX