Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UniqueId Constructor (String)

Creates a new instance of this class using a string.

Namespace:  System.Xml
Assemblies:   System.Runtime.Serialization.Xml (in System.Runtime.Serialization.Xml.dll)
  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

new : 
        value:string -> UniqueId

Parameters

value
Type: System.String

A string used to generate the UniqueId.

ExceptionCondition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

FormatException

Length of value is zero.

Any string non-zero length string is a valid value.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft