The DHCPWin32Exception class is an exception that is raised when an error is detected when communicating with a DHCP server using the DHCP-M unmanaged API.

Inheritance Hierarchy

System.ObjectSystem.ObjectSystem::Object
  System.ExceptionSystem.ExceptionSystem::Exception
    CENTREL.XIA.Network.Management.DHCP.DHCPWin32ExceptionCENTREL.XIA.Network.Management.DHCP.DHCPWin32ExceptionCENTREL::XIA::Network::Management::DHCP::DHCPWin32Exception

Namespace: CENTREL.XIA.Network.Management.DHCPCENTREL.XIA.Network.Management.DHCPCENTREL::XIA::Network::Management::DHCP
Assembly: CENTREL.XIA.Network.Management.DHCP (in CENTREL.XIA.Network.Management.DHCP.dll)

Syntax

C#

[Serializable]

public class DHCPWin32ExceptionException

VB

<Serializable> _

Public Class DHCPWin32Exception Inherits Exception

C++

[Serializable]

public ref class DHCPWin32Exceptionpublic Exception

The DHCPWin32ExceptionDHCPWin32ExceptionDHCPWin32Exception type exposes the following members.

Constructors

Name Description
DHCPWin32Exception()New()DHCPWin32Exception() Creates a new DHCP Win32 Exception Exception
DHCPWin32Exception(string)New(String)DHCPWin32Exception(String^) Creates a new DHCP Win32 Exception Exception with the specified message
DHCPWin32Exception(uint)New(UInteger)DHCPWin32Exception(unsigned int) Creates a new DHCP Win32 Exception Exception with the specified message
DHCPWin32Exception(SerializationInfo, StreamingContext)New(SerializationInfo, StreamingContext)DHCPWin32Exception(SerializationInfo^, StreamingContext) Creates a new DHCP Win32 Exception Exception with the specifed serialisation information and streaming context
DHCPWin32Exception(string, Exception)New(String, Exception)DHCPWin32Exception(String^, Exception^) Creates a new DHCP Win32 Exception Exception with the specified message and inner exception
Top

Properties

Name Description
DataDataData Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from ExceptionExceptionException.)
ErrorCodeErrorCodeErrorCode Gets or sets the Win32 error code reported by the DHCP server
HResultHResultHResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from ExceptionExceptionException.)
HelpLinkHelpLinkHelpLink Gets or sets a link to the help file associated with this exception. (Inherited from ExceptionExceptionException.)
InnerExceptionInnerExceptionInnerException Gets the Exception instance that caused the current exception. (Inherited from ExceptionExceptionException.)
MessageMessageMessage Gets a message that describes the current exception. (Inherited from ExceptionExceptionException.)
SourceSourceSource Gets or sets the name of the application or the object that causes the error. (Inherited from ExceptionExceptionException.)
StackTraceStackTraceStackTrace Gets a string representation of the immediate frames on the call stack. (Inherited from ExceptionExceptionException.)
TargetSiteTargetSiteTargetSite Gets the method that throws the current exception. (Inherited from ExceptionExceptionException.)
Top

Methods

Name Description
Equals(object)Equals(Object)Equals(Object^) Determines whether the specified Object is equal to the current Object. (Inherited from ObjectObjectObject.)
Finalize()Finalize()Finalize() Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from ObjectObjectObject.)
GetBaseException()GetBaseException()GetBaseException() When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from ExceptionExceptionException.)
GetHashCode()GetHashCode()GetHashCode() Serves as a hash function for a particular type. (Inherited from ObjectObjectObject.)
GetObjectData(SerializationInfo, StreamingContext)GetObjectData(SerializationInfo, StreamingContext)GetObjectData(SerializationInfo^, StreamingContext) When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from ExceptionExceptionException.)
GetType()GetType()GetType() Gets the runtime type of the current instance. (Inherited from ExceptionExceptionException.)
MemberwiseClone()MemberwiseClone()MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from ObjectObjectObject.)
ToString()ToString()ToString() Creates and returns a string representation of the current exception. (Inherited from ExceptionExceptionException.)
Top

Events

Name Description
SerializeObjectStateSerializeObjectStateSerializeObjectState Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from ExceptionExceptionException.)
Top

See Also

CENTREL.XIA.Network.Management.DHCPCENTREL.XIA.Network.Management.DHCPCENTREL::XIA::Network::Management::DHCP Namespace