Export (0) Print
Expand All

XamlBackgroundReader Class

Implements a double-buffered XamlReader that can split reading and writing to different threads.

System.Object
  System.Xaml.XamlReader
    System.Xaml.XamlBackgroundReader

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public class XamlBackgroundReader : XamlReader, 
	IXamlLineInfo

The XamlBackgroundReader type exposes the following members.

  NameDescription
Public methodXamlBackgroundReaderInitializes a new instance of the XamlBackgroundReader class.
Top

  NameDescription
Public propertyHasLineInfoGets a value that specifies whether line information is available.
Protected propertyIsDisposedGets whether Dispose has been called. (Inherited from XamlReader.)
Public propertyIsEofGets a value that reports whether the reader position is at end-of-file. (Overrides XamlReader.IsEof.)
Public propertyLineNumberGets the line number to report.
Public propertyLinePositionGets the line position to report.
Public propertyMemberGets the current member at the reader position, if the reader position is on a StartMember. (Overrides XamlReader.Member.)
Public propertyNamespaceGets the XAML namespace from the current node. (Overrides XamlReader.Namespace.)
Public propertyNodeTypeGets the type of the current node. (Overrides XamlReader.NodeType.)
Public propertySchemaContextGets an object that provides schema context information for the information set. (Overrides XamlReader.SchemaContext.)
Public propertyTypeGets the XamlType of the current node. (Overrides XamlReader.Type.)
Public propertyValueGets the value of the current node. (Overrides XamlReader.Value.)
Top

  NameDescription
Public methodCloseCloses the XAML node stream. (Inherited from XamlReader.)
Protected methodDisposeReleases the unmanaged resources used by the XamlBackgroundReader and optionally releases the managed resources. (Overrides XamlReader.Dispose(Boolean).)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReadProvides the next XAML node from the source, if a node is available. (Overrides XamlReader.Read().)
Public methodReadSubtreeReturns a XamlReader that is based on the current XamlReader, where the returned XamlReader is used to iterate through a subtree of the XAML node structure. (Inherited from XamlReader.)
Public methodSkipSkips the current node and advances the reader position to the next node. (Inherited from XamlReader.)
Public methodStartThread()Creates and starts a new Thread (constructed from ParameterizedThreadStart) that handles a named thread for the XamlReader.
Public methodStartThread(String)Creates and starts a new Thread (constructed from ParameterizedThreadStart) that handles a named thread for the XamlReader. You specify the thread name as a parameter.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIDisposable.DisposeInfrastructure. Releases all resources used by the current instance of the XamlReader class. (Inherited from XamlReader.)
Top

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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