Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns a copy of the current object so it can be modified and assigned to the LoadTestScenario.LoadProfile property.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public Overridable Function Copy As LoadTestLoadProfile
public virtual LoadTestLoadProfile Copy()
public:
virtual LoadTestLoadProfile^ Copy()
abstract Copy : unit -> LoadTestLoadProfile
override Copy : unit -> LoadTestLoadProfile
public function Copy() : LoadTestLoadProfile
Return Value
Type: Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestLoadProfile
A copy of the current object.
Remarks
Changes to any of the properties of a LoadTestLoadProfile classes should all be made before you assign it to the LoadTestScenario.LoadProfile property. After the [assignment], it is read-only. Use this method to get a writable copy of the object as shown in the example for LoadTestGoalBasedLoadProfile.
.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.