---
updatedAt: 2025-05-20T20:12:08.000Z
agentTools:
  projectIndex: https://developer.indicodata.ai/llms.txt
---

# Class WrongSubmissionStatusException

Namespace: [IndicoV2-Extensions-SubmissionResult-Exceptions](indicov2-extensions-submissionresult-exceptions)\
Assembly: IndicoV2-Abstractions-dll

Thrown when trying to get submission result and, because of wrong status, result cannot be downloaded-

```csharp
public class WrongSubmissionStatusException : Exception, ISerializable
```

#### Inheritance

[object](https://learn-microsoft-com/dotnet/api/system-object) ←\
[Exception](https://learn-microsoft-com/dotnet/api/system-exception) ←\
[WrongSubmissionStatusException](indicov2-extensions-submissionresult-exceptions-wrongsubmissionstatusexception)

#### Implements

[ISerializable](https://learn-microsoft-com/dotnet/api/system-runtime-serialization-iserializable)

#### Inherited Members

[Exception-GetBaseException()](https://learn-microsoft-com/dotnet/api/system-exception-getbaseexception),\
[Exception-GetObjectData(SerializationInfo, StreamingContext)](https://learn-microsoft-com/dotnet/api/system-exception-getobjectdata),\
[Exception-GetType()](https://learn-microsoft-com/dotnet/api/system-exception-gettype),\
[Exception-ToString()](https://learn-microsoft-com/dotnet/api/system-exception-tostring),\
[Exception-Data](https://learn-microsoft-com/dotnet/api/system-exception-data),\
[Exception-HelpLink](https://learn-microsoft-com/dotnet/api/system-exception-helplink),\
[Exception-HResult](https://learn-microsoft-com/dotnet/api/system-exception-hresult),\
[Exception-InnerException](https://learn-microsoft-com/dotnet/api/system-exception-innerexception),\
[Exception-Message](https://learn-microsoft-com/dotnet/api/system-exception-message),\
[Exception-Source](https://learn-microsoft-com/dotnet/api/system-exception-source),\
[Exception-StackTrace](https://learn-microsoft-com/dotnet/api/system-exception-stacktrace),\
[Exception-TargetSite](https://learn-microsoft-com/dotnet/api/system-exception-targetsite),\
[Exception-SerializeObjectState](https://learn-microsoft-com/dotnet/api/system-exception-serializeobjectstate),\
[object-Equals(object)](https://learn-microsoft-com/dotnet/api/system-object-equals#system-object-equals\(system-object\)),\
[object-Equals(object, object)](https://learn-microsoft-com/dotnet/api/system-object-equals#system-object-equals\(system-object-system-object\)),\
[object-GetHashCode()](https://learn-microsoft-com/dotnet/api/system-object-gethashcode),\
[object-GetType()](https://learn-microsoft-com/dotnet/api/system-object-gettype),\
[object-MemberwiseClone()](https://learn-microsoft-com/dotnet/api/system-object-memberwiseclone),\
[object-ReferenceEquals(object, object)](https://learn-microsoft-com/dotnet/api/system-object-referenceequals),\
[object-ToString()](https://learn-microsoft-com/dotnet/api/system-object-tostring)

## Constructors

### <a id="IndicoV2_Extensions_SubmissionResult_Exceptions_WrongSubmissionStatusException__ctor"></a> WrongSubmissionStatusException()

```csharp
public WrongSubmissionStatusException()
```

### <a id="IndicoV2_Extensions_SubmissionResult_Exceptions_WrongSubmissionStatusException__ctor_System_String_"></a> WrongSubmissionStatusException(string)

```csharp
public WrongSubmissionStatusException(string message)
```

#### Parameters

`message` [string](https://learn-microsoft-com/dotnet/api/system-string)

### <a id="IndicoV2_Extensions_SubmissionResult_Exceptions_WrongSubmissionStatusException__ctor_IndicoV2_Submissions_Models_SubmissionStatus_"></a> WrongSubmissionStatusException(SubmissionStatus)

```csharp
public WrongSubmissionStatusException(SubmissionStatus status)
```

#### Parameters

`status` [SubmissionStatus](indicov2-submissions-models-submissionstatus)