RemoteControlClient.ReadFile(BehaviorOnStale) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads the settings file based on the staleBehavior
specified.
C++
public:
virtual System::IO::Stream ^ ReadFile(Microsoft::VisualStudio::RemoteControl::BehaviorOnStale staleBehavior);
public System.IO.Stream ReadFile(Microsoft.VisualStudio.RemoteControl.BehaviorOnStale staleBehavior);
abstract member ReadFile : Microsoft.VisualStudio.RemoteControl.BehaviorOnStale -> System.IO.Stream
override this.ReadFile : Microsoft.VisualStudio.RemoteControl.BehaviorOnStale -> System.IO.Stream
Public Function ReadFile (staleBehavior As BehaviorOnStale) As Stream
- staleBehavior
- BehaviorOnStale
See BehaviorOnStale for details about each possible setting. In most cases use the BehaviorOnStale.ReturnStale setting.
A Stream that can be used to read the setting file. !Callers must call Dispose on this stream object returned. Or Null is returned in case of failure to get the file (or if server returned NotFound).
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2019, 2022 |