ProjectException Constructors
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.
Overloads
| ProjectException() | |
| ProjectException(String) | |
| ProjectException(SerializationInfo, StreamingContext) |
Initializes an exception from serialized data |
| ProjectException(String, Exception) |
ProjectException()
public ProjectException();
Public Sub New ()
Applies to
ProjectException(String)
public ProjectException(string message);
new Microsoft.TeamFoundation.Core.WebApi.ProjectException : string -> Microsoft.TeamFoundation.Core.WebApi.ProjectException
Public Sub New (message As String)
Parameters
- message
- String
Applies to
ProjectException(SerializationInfo, StreamingContext)
Initializes an exception from serialized data
protected ProjectException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.TeamFoundation.Core.WebApi.ProjectException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.TeamFoundation.Core.WebApi.ProjectException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
object holding the serialized data
- context
- StreamingContext
context info about the source or destination
Applies to
ProjectException(String, Exception)
public ProjectException(string message, Exception innerException);
new Microsoft.TeamFoundation.Core.WebApi.ProjectException : string * Exception -> Microsoft.TeamFoundation.Core.WebApi.ProjectException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
- innerException
- Exception