ServiceObjectPropertyException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ServiceObjectPropertyException(PropertyDefinitionBase) |
Initializes a new instance of the ServiceObjectPropertyException class with the property definition that caused the exception. |
ServiceObjectPropertyException(String, PropertyDefinitionBase) |
Initializes a new instance of the ServiceObjectPropertyException class with the property definition that caused the exception and the error message text. |
ServiceObjectPropertyException(String, PropertyDefinitionBase, Exception) |
Initializes a new instance of the ServiceObjectPropertyException class with the property definition that caused the exception, the inner exception, and the error message text. |
ServiceObjectPropertyException(PropertyDefinitionBase)
Initializes a new instance of the ServiceObjectPropertyException class with the property definition that caused the exception.
public:
ServiceObjectPropertyException(Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^ propertyDefinition);
public ServiceObjectPropertyException (Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase propertyDefinition);
Public Sub New (propertyDefinition As PropertyDefinitionBase)
Parameters
- propertyDefinition
- PropertyDefinitionBase
The definition of the property that is at the origin of the exception.
Applies to
ServiceObjectPropertyException(String, PropertyDefinitionBase)
Initializes a new instance of the ServiceObjectPropertyException class with the property definition that caused the exception and the error message text.
public:
ServiceObjectPropertyException(System::String ^ message, Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^ propertyDefinition);
public ServiceObjectPropertyException (string message, Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase propertyDefinition);
Public Sub New (message As String, propertyDefinition As PropertyDefinitionBase)
Parameters
- message
- String
The error message text.
- propertyDefinition
- PropertyDefinitionBase
The definition of the property that is at the origin of the exception.
Applies to
ServiceObjectPropertyException(String, PropertyDefinitionBase, Exception)
Initializes a new instance of the ServiceObjectPropertyException class with the property definition that caused the exception, the inner exception, and the error message text.
public:
ServiceObjectPropertyException(System::String ^ message, Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^ propertyDefinition, Exception ^ innerException);
public ServiceObjectPropertyException (string message, Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase propertyDefinition, Exception innerException);
Public Sub New (message As String, propertyDefinition As PropertyDefinitionBase, innerException As Exception)
Parameters
- message
- String
The error message text.
- propertyDefinition
- PropertyDefinitionBase
The definition of the property that is at the origin of the exception.
- innerException
- Exception
The inner exception.