Class PropertyException
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents an error that occurs when an operation on a property fails.
public class PropertyException : ServiceLocalException, ISerializable
- Inheritance
-
PropertyException
- Implements
- Derived
- Inherited Members
Constructors
PropertyException(string)
PropertyException constructor.
public PropertyException(string name)
Parameters
name
stringThe name of the property that is at the origin of the exception.
PropertyException(string, string)
PropertyException Constructor.
public PropertyException(string message, string name)
Parameters
message
stringError message text.
name
stringThe name of the property that is at the origin of the exception.
PropertyException(string, string, Exception)
PropertyException Constructor.
public PropertyException(string message, string name, Exception innerException)
Parameters
message
stringError message text.
name
stringThe name of the property that is at the origin of the exception.
innerException
ExceptionInner exception.
Properties
Name
Gets the name of the property that caused the exception.
public string Name { get; }