XamlBackgroundReader Class

.NET Framework (current version)
 

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

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

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

public class XamlBackgroundReader : XamlReader, IXamlLineInfo

NameDescription
System_CAPS_pubmethodXamlBackgroundReader(XamlReader)

Initializes a new instance of the XamlBackgroundReader class.

NameDescription
System_CAPS_pubpropertyHasLineInfo

Gets a value that specifies whether line information is available.

System_CAPS_protpropertyIsDisposed

Gets whether Dispose has been called.(Inherited from XamlReader.)

System_CAPS_pubpropertyIsEof

Gets a value that reports whether the reader position is at end-of-file.(Overrides XamlReader.IsEof.)

System_CAPS_pubpropertyLineNumber

Gets the line number to report.

System_CAPS_pubpropertyLinePosition

Gets the line position to report.

System_CAPS_pubpropertyMember

Gets the current member at the reader position, if the reader position is on a StartMember.(Overrides XamlReader.Member.)

System_CAPS_pubpropertyNamespace

Gets the XAML namespace from the current node.(Overrides XamlReader.Namespace.)

System_CAPS_pubpropertyNodeType

Gets the type of the current node.(Overrides XamlReader.NodeType.)

System_CAPS_pubpropertySchemaContext

Gets an object that provides schema context information for the information set.(Overrides XamlReader.SchemaContext.)

System_CAPS_pubpropertyType

Gets the XamlType of the current node.(Overrides XamlReader.Type.)

System_CAPS_pubpropertyValue

Gets the value of the current node.(Overrides XamlReader.Value.)

NameDescription
System_CAPS_pubmethodClose()

Closes the XAML node stream.(Inherited from XamlReader.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the XamlBackgroundReader and optionally releases the managed resources. (Overrides XamlReader.Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRead()

Provides the next XAML node from the source, if a node is available. (Overrides XamlReader.Read().)

System_CAPS_pubmethodReadSubtree()

Returns 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.)

System_CAPS_pubmethodSkip()

Skips the current node and advances the reader position to the next node.(Inherited from XamlReader.)

System_CAPS_pubmethodStartThread()

Creates and starts a new Thread (constructed from ParameterizedThreadStart) that handles a named thread for the XamlReader.

System_CAPS_pubmethodStartThread(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.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

This API supports the product infrastructure and is not intended to be used directly from your code. Releases all resources used by the current instance of the XamlReader class.(Inherited from XamlReader.)

.NET Framework
Available since 4.0

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

Return to top
Show: