Class FailedJobException
Class representing a failed Tableau job.
Inherited Members
Namespace: Tableau.Migration.Api.Models
Assembly: Tableau.Migration.dll
Syntax
public class FailedJobException : Exception, ISerializable, IEquatable<FailedJobException>
Constructors
FailedJobException(IJob, ISharedResourcesLocalizer)
Creates a new FailedJobException object
Declaration
public FailedJobException(IJob job, ISharedResourcesLocalizer sharedResourcesLocalizer)
Parameters
Type | Name | Description |
---|---|---|
IJob | job | The failed job. |
ISharedResourcesLocalizer | sharedResourcesLocalizer | A string localizer. |
Properties
FailedJob
Gets the failed job.
Declaration
public IJob FailedJob { get; }
Property Value
Type | Description |
---|---|
IJob |
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
Equals(FailedJobException?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(FailedJobException? other)
Parameters
Type | Name | Description |
---|---|---|
FailedJobException | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |