Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

QuotaExceededException Constructor

 

Initializes a new instance of the QuotaExceededException class.

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

NameDescription
System_CAPS_pubmethodQuotaExceededException()

Initializes a new instance of the QuotaExceededException class.

System_CAPS_protmethodQuotaExceededException(SerializationInfo^, StreamingContext)

Initializes a new instance of the QuotaExceededException class with data that specifies the source and destination of the stream and the information required to serialize the exception.

System_CAPS_pubmethodQuotaExceededException(String^)

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

System_CAPS_pubmethodQuotaExceededException(String^, Exception^)

Initializes a new instance of the QuotaExceededException 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 QuotaExceededException(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 QuotaExceededException(String^, Exception^) constructor.

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

Return to top
Show:
© 2017 Microsoft