Share via


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

'Declaration
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

  • 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

See Also

Reference

ExceptionPropertyCollection Class

Copy Overload

Microsoft.TeamFoundation.Common Namespace