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
name
Type: System.StringThe name of the property to set.
value
Type: System.Int16The 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.