Class OptionNotFoundException
Represents an exception that is thrown when an option is not found in an FFmpeg operation.
Implements
Inherited Members
Namespace: FFmpeg.Exceptions
Assembly: FFmpeg.dll
Syntax
public class OptionNotFoundException : FFmpegException, ISerializable
Constructors
View SourceOptionNotFoundException()
Initializes a new instance of the OptionNotFoundException class with an empty option name.
Declaration
public OptionNotFoundException()
OptionNotFoundException(string)
Initializes a new instance of the OptionNotFoundException class with the specified option name.
Declaration
public OptionNotFoundException(string optionName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | optionName | The name of the option that was not found. |
OptionNotFoundException(string, string)
Initializes a new instance of the OptionNotFoundException class with the specified option name and error message.
Declaration
public OptionNotFoundException(string optionName, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | optionName | The name of the option that was not found. |
| string | message | The message that describes the error. |
OptionNotFoundException(string, string, Exception)
Initializes a new instance of the OptionNotFoundException class with the specified option name, error message, and inner exception.
Declaration
public OptionNotFoundException(string optionName, string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | optionName | The name of the option that was not found. |
| string | message | The message that describes the error. |
| Exception | innerException | The exception that is the cause of the current exception. |
Properties
View SourceOptionName
Gets the name of the option that was not found.
Declaration
public string OptionName { get; }
Property Value
| Type | Description |
|---|---|
| string |