Share via


ExceptionPropertyCollection.Set Method (String, Int32)

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 Integer _
)
public void Set(
    string name,
    int value
)
public:
void Set(
    String^ name, 
    int value
)
member Set : 
        name:string * 
        value:int -> unit
public function Set(
    name : String, 
    value : int
)

Parameters

  • value
    Type: System.Int32

    The value to set to the property.

.NET Framework Security

See Also

Reference

ExceptionPropertyCollection Class

Set Overload

Microsoft.TeamFoundation.Common Namespace