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
propertyNamesIEnumerable<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
infoSerializationInfoThe object that holds the serialized object data.
ctxStreamingContextAn 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
messagestringThe error message that explains the reason for this exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (
Nothingin 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
propertyNamesstring[]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.