ExceptionPropertyCollection.Set Method (String, Boolean)
Sets the exception property with the specified name to the specified value.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Sub Set ( _
name As String, _
value As Boolean _
)
public void Set(
string name,
bool value
)
public:
void Set(
String^ name,
bool value
)
member Set :
name:string *
value:bool -> unit
public function Set(
name : String,
value : boolean
)
Parameters
name
Type: System.StringThe name of the property to set.
value
Type: System.BooleanThe value to set to the property.
.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.