Edit

Share via


DelegatingConfigHost.OpenStreamForRead Method

Definition

Opens and returns a Stream object to read a configuration file.

Overloads

OpenStreamForRead(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Opens a Stream object to read a configuration file.

OpenStreamForRead(String, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code.

Opens a Stream object to read a configuration file.

OpenStreamForRead(String)

Source:
DelegatingConfigHost.cs
Source:
DelegatingConfigHost.cs
Source:
DelegatingConfigHost.cs
Source:
DelegatingConfigHost.cs
Source:
DelegatingConfigHost.cs

Opens a Stream object to read a configuration file.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual System::IO::Stream ^ OpenStreamForRead(System::String ^ streamName);
public virtual System.IO.Stream OpenStreamForRead (string streamName);
abstract member OpenStreamForRead : string -> System.IO.Stream
override this.OpenStreamForRead : string -> System.IO.Stream
Public Overridable Function OpenStreamForRead (streamName As String) As Stream

Parameters

streamName
String

The name of a Stream object performing I/O tasks on a configuration file.

Returns

The object specified by streamName.

Implements

Applies to

OpenStreamForRead(String, Boolean)

Source:
DelegatingConfigHost.cs
Source:
DelegatingConfigHost.cs
Source:
DelegatingConfigHost.cs
Source:
DelegatingConfigHost.cs
Source:
DelegatingConfigHost.cs

Opens a Stream object to read a configuration file.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual System::IO::Stream ^ OpenStreamForRead(System::String ^ streamName, bool assertPermissions);
public virtual System.IO.Stream OpenStreamForRead (string streamName, bool assertPermissions);
abstract member OpenStreamForRead : string * bool -> System.IO.Stream
override this.OpenStreamForRead : string * bool -> System.IO.Stream
Public Overridable Function OpenStreamForRead (streamName As String, assertPermissions As Boolean) As Stream

Parameters

streamName
String

The name of a Stream object performing I/O tasks on a configuration file.

assertPermissions
Boolean

true to assert permissions; otherwise, false.

Returns

The object specified by streamName.

Implements

Applies to