Condividi tramite


ExceptionPropertyCollection.Set Method (String, Int16)

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

Parameters

  • value
    Type: System.Int16

    The value to set to the property.

.NET Framework Security

See Also

Reference

ExceptionPropertyCollection Class

Set Overload

Microsoft.TeamFoundation.Common Namespace