StreamWriter closes MemoryStream???
From: Bob Rock (nospam.yet_another_apprentice_at_hotmail.com)
Date: 05/14/04
- Next message: Bob Rock: "When to define static constructors and when are they implicitly called???"
- Previous message: K V: "Macros of VC6,how to use them in VC& ..NET environment"
- Next in thread: Jon Skeet [C# MVP]: "Re: StreamWriter closes MemoryStream???"
- Reply: Jon Skeet [C# MVP]: "Re: StreamWriter closes MemoryStream???"
- Reply: Dennis Myrén: "Re: StreamWriter closes MemoryStream???"
- Reply: DalePres: "Re: StreamWriter closes MemoryStream???"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 14 May 2004 13:41:13 +0200
Hello,
I've noticed that after calling the Close method on a StreamWriter, I get
exceptions on any operation I might request on the associated stream (with a
message "Cannot access a closed Stream"). Is this the behaviour I must
expect? Nothing is said on the documentation.
Bob Rock
- Next message: Bob Rock: "When to define static constructors and when are they implicitly called???"
- Previous message: K V: "Macros of VC6,how to use them in VC& ..NET environment"
- Next in thread: Jon Skeet [C# MVP]: "Re: StreamWriter closes MemoryStream???"
- Reply: Jon Skeet [C# MVP]: "Re: StreamWriter closes MemoryStream???"
- Reply: Dennis Myrén: "Re: StreamWriter closes MemoryStream???"
- Reply: DalePres: "Re: StreamWriter closes MemoryStream???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|