AddressAccessDeniedException Constructor

 

Initializes a new instance of the AddressAccessDeniedException class.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

NameDescription
System_CAPS_pubmethodAddressAccessDeniedException()

Initializes a new instance of the AddressAccessDeniedException class.

System_CAPS_protmethodAddressAccessDeniedException(SerializationInfo, StreamingContext)

Initializes a new instance of the AddressAccessDeniedException class with serialization information and streaming context specified.

System_CAPS_pubmethodAddressAccessDeniedException(String)

Initializes a new instance of the AddressAccessDeniedException class with a specified error message.

System_CAPS_pubmethodAddressAccessDeniedException(String, Exception)

Initializes a new instance of the AddressAccessDeniedException class with a specified error message and a reference to the inner exception that is the cause of the exception.

If you want to pass an error message to the user, use the AddressAccessDeniedException(String) constructor.

If you want to pass an error message and a reference to the inner exception that is the cause of the exception to the user, use the AddressAccessDeniedException(String, Exception) constructor.

If you want to pass serialization information and streaming context, use the AddressAccessDeniedException(SerializationInfo, StreamingContext) constructor.

Return to top
Show: