ExceptionPropertyCollection.Copy Method (ExceptionPropertyCollection, Boolean)
Copies the properties from the specified collection to this collection.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Декларация
Public Sub Copy ( _
properties As ExceptionPropertyCollection, _
replace As Boolean _
)
public void Copy(
ExceptionPropertyCollection properties,
bool replace
)
public:
void Copy(
ExceptionPropertyCollection^ properties,
bool replace
)
member Copy :
properties:ExceptionPropertyCollection *
replace:bool -> unit
public function Copy(
properties : ExceptionPropertyCollection,
replace : boolean
)
Parameters
- properties
Type: Microsoft.TeamFoundation.Common.ExceptionPropertyCollection
A ExceptionPropertyCollection containing the properties to copy into this collection.
- replace
Type: System.Boolean
True to replace properties that exist in this collection with the properties being copied if there is a conflict; otherwise, false to keep the properties in this collection regardless of conflict.
.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.