Class TableauInstanceTypeNotSupportedException
The exception that is thrown when an operation is not supported for the current TableauInstanceType.
Inheritance
Inherited Members
Namespace: Tableau.Migration
Assembly: Tableau.Migration.dll
Syntax
public class TableauInstanceTypeNotSupportedException : NotSupportedException, ISerializable, IEquatable<TableauInstanceTypeNotSupportedException>
Constructors
TableauInstanceTypeNotSupportedException(TableauInstanceType, string)
The exception that is thrown when an operation is not supported for the current TableauInstanceType.
Declaration
public TableauInstanceTypeNotSupportedException(TableauInstanceType unsupportedInstanceType, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| TableauInstanceType | unsupportedInstanceType | |
| string | message |
TableauInstanceTypeNotSupportedException(TableauInstanceType, ISharedResourcesLocalizer)
Creates a new TableauInstanceTypeNotSupportedException object.
Declaration
public TableauInstanceTypeNotSupportedException(TableauInstanceType unsupportedInstanceType, ISharedResourcesLocalizer localizer)
Parameters
| Type | Name | Description |
|---|---|---|
| TableauInstanceType | unsupportedInstanceType | The unsupported TableauInstanceType. |
| ISharedResourcesLocalizer | localizer | The localizer to use for the standard exception message. |
Properties
UnsupportedInstanceType
Gets the unsupported TableauInstanceType.
Declaration
public TableauInstanceType UnsupportedInstanceType { get; }
Property Value
| Type | Description |
|---|---|
| TableauInstanceType |
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(TableauInstanceTypeNotSupportedException?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(TableauInstanceTypeNotSupportedException? other)
Parameters
| Type | Name | Description |
|---|---|---|
| TableauInstanceTypeNotSupportedException | 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. |