| Visual Basic (Usage) | Copy Code |
|---|---|
Dim value As DiagnosticInfo Dim instance As New DiagnosticInfo(value) | |
| C# | |
|---|---|
public DiagnosticInfo( DiagnosticInfo value ) | |
Parameters
- value
- The value to copy
| Exception | Description |
|---|---|
| System.ArgumentNullException | Thrown when the value is null |
Creates a new instance of the object while copying the value passed in.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x