ExceptionPropertyCollection.Set Method (String, Decimal)
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 Decimal _
)
public void Set(
string name,
decimal value
)
public:
void Set(
String^ name,
Decimal value
)
member Set :
name:string *
value:decimal -> unit
public function Set(
name : String,
value : decimal
)
Parameters
name
Type: System.StringThe name of the property to set.
value
Type: System.DecimalThe 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.