[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Reads the data from the resource stream. Namespace: Microsoft.EnterpriseManagement.DataAbstractionLayer
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As ClientDataAccessCore
Dim id As Guid
Dim count As Integer
Dim returnValue As Byte()

returnValue = instance.ReadFromResourceStream(id, count)

Syntax

Visual Basic
Public Function ReadFromResourceStream ( _
		id As Guid, _
		count As Integer _
) As Byte()
C#
public byte[] ReadFromResourceStream (
		Guid id,
		int count
)
C++
public:
virtual array<unsigned char>^ ReadFromResourceStream (
		Guid id, 
		int count
) sealed
J#
public final byte[] ReadFromResourceStream (
		Guid id, 
		int count
)
JScript
public final function ReadFromResourceStream (
		id : Guid, 
		count : int
) : byte[]

Parameters

id

The ID of the stream to read the data from.

count

The byte count to get.

Return Value

Returns Byte. The data from resource stream.

Exceptions

Exception type Condition
ObjectNotFoundException

The resource stream is not found.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP

See Also