ShelveException Constructor (String, Exception)
Initializes a new ShelveException instance.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
exception As Exception _
)
public ShelveException(
string message,
Exception exception
)
public:
ShelveException(
String^ message,
Exception^ exception
)
new :
message:string *
exception:Exception -> ShelveException
public function ShelveException(
message : String,
exception : Exception
)
Parameters
message
Type: System.StringA message that describes the exception.
exception
Type: System.ExceptionThe exception that caused this error.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.