Class UnknownPropertiesException
- Namespace
- Jabra.NET.Sdk.Properties
- Assembly
- Jabra.NET.Sdk.Properties.dll
Thrown when a property name is not known to an IPropertyFactory.
[Serializable]
public class UnknownPropertiesException : PropertyException, ISerializable
- Inheritance
-
JabraExceptionUnknownPropertiesException
- Implements
- Inherited Members
-
JabraException.ToString()JabraException.Type
Constructors
UnknownPropertiesException(IEnumerable<string>)
Initializes a new instance of the UnknownPropertiesException class.
public UnknownPropertiesException(IEnumerable<string> propertyNames)
Parameters
propertyNames
IEnumerable<string>The name of the properties unknown to the IPropertyFactory.
UnknownPropertiesException(SerializationInfo, StreamingContext)
Initializes a new instance of the UnknownPropertiesException class with serialized data.
protected UnknownPropertiesException(SerializationInfo info, StreamingContext ctx)
Parameters
info
SerializationInfoThe object that holds the serialized object data.
ctx
StreamingContextAn object that describes the source or destination of the serialized data.
UnknownPropertiesException(string, Exception)
Initializes a new instance of the UnknownPropertiesException class with a specified error message and the exception that is the cause of this exception.
public UnknownPropertiesException(string message, Exception innerException)
Parameters
message
stringThe error message that explains the reason for this exception.
innerException
ExceptionThe exception that is the cause of the current exception, or a null reference (
Nothing
in Visual Basic) if no inner exception is specified.
UnknownPropertiesException(params string[])
Initializes a new instance of the UnknownPropertiesException class.
public UnknownPropertiesException(params string[] propertyNames)
Parameters
propertyNames
string[]The name of the properties unknown to the IPropertyFactory.
Properties
PropertyNames
public IReadOnlyList<string> PropertyNames { get; }
Property Value
- IReadOnlyList<string>
The property names unknown to the IPropertyFactory.