Export (0) Print
Expand All

UniqueId Constructor (Byte[])

Creates a new instance of this class using a byte array that represents a Guid.

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

public UniqueId(
	byte[] guid
)

Parameters

guid
Type: System.Byte[]

A byte array that represents a Guid.

ExceptionCondition
ArgumentNullException

guid is null.

ArgumentException

guid provides less than 16 valid bytes.

Only the first 16 bytes of the array are used.

.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