NetworkException(NetworkExceptionCategory, Int32, String) Constructor
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.
Constructor for NetworkException
public NetworkException(Microsoft.InformationProtection.NetworkExceptionCategory category, int statusCode, string message);
new Microsoft.InformationProtection.Exceptions.NetworkException : Microsoft.InformationProtection.NetworkExceptionCategory * int * string -> Microsoft.InformationProtection.Exceptions.NetworkException
Public Sub New (category As NetworkExceptionCategory, statusCode As Integer, message As String)
Parameters
- category
- NetworkExceptionCategory
The category of network failure
- statusCode
- Int32
HTTP response status code, 0 if none
- message
- String
The message that describes the error