Sdílet prostřednictvím


MessagePropertyException Class

 

Used when a property that should be set is null or empty. This class should not be called in user code.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.ConfigurationManagement.Messaging.Framework.MessageException
      Microsoft.ConfigurationManagement.Messaging.Framework.MessagePropertyException
        Microsoft.ConfigurationManagement.Messaging.Framework.MessageInvalidPropertySettingException
        Microsoft.ConfigurationManagement.Messaging.Framework.MessageMissingPropertyException

Syntax

[SerializableAttribute]
public class MessagePropertyException : MessageException
[SerializableAttribute]
public ref class MessagePropertyException : MessageException
<SerializableAttribute>
Public Class MessagePropertyException
    Inherits MessageException

Constructors

Name Description
System_CAPS_protmethod MessagePropertyException()

Initializes a new instance of the MessagePropertyException class. This is a standard exception constructor.

System_CAPS_pubmethod MessagePropertyException(IMessageBase, PropertyInfo)

Initializes a new instance of the MessagePropertyException class.

System_CAPS_protmethod MessagePropertyException(SerializationInfo, StreamingContext)

Initializes a new instance of the MessagePropertyException class. This is a serialization handler.

System_CAPS_protmethod MessagePropertyException(String)

Initializes a new instance of the MessagePropertyException class. This is a standard exception constructor.

System_CAPS_protmethod MessagePropertyException(String, Exception)

Initializes a new instance of the MessagePropertyException class. This is a standard exception constructor.

System_CAPS_pubmethod MessagePropertyException(String, IMessageBase)

Initializes a new instance of the MessagePropertyException class.

System_CAPS_pubmethod MessagePropertyException(String, IMessageBase, PropertyInfo)

Initializes a new instance of the MessagePropertyException class.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty HResult

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty Property

Gets the name of the missing property.

System_CAPS_pubproperty SendingMessage

Gets the base message that threw the exception. (Inherited from MessageException.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Gets object data for serialization. (Overrides MessageException.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Events

Name Description
System_CAPS_protevent SerializeObjectState

(Inherited from Exception.)

Extension Methods

Name Description
System_CAPS_pubmethod IsCriticalException()

Validates whether an exception is one of a predetermined list of critical exceptions that should never be handled by the framework. (Defined by DebugHelpers.)

System_CAPS_pubmethod RethrowCriticalException()

Throws a previously thrown exception that is not able to be handled. (Defined by DebugHelpers.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top