PropertyDoesNotExistException Constructor (String, Exception)
Initializes a new instance of the PropertyDoesNotExistException class by using the specified property name and inner exception.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Déclaration
Public Sub New ( _
key As String, _
inner As Exception _
)
public PropertyDoesNotExistException(
string key,
Exception inner
)
public:
PropertyDoesNotExistException(
String^ key,
Exception^ inner
)
new :
key:string *
inner:Exception -> PropertyDoesNotExistException
public function PropertyDoesNotExistException(
key : String,
inner : Exception
)
Parameters
- key
Type: System.String
The name of the property that does not exist.
- inner
Type: System.Exception
The exception that caused this exception.
.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.
See Also
Reference
PropertyDoesNotExistException Class