[This is preliminary documentation and is subject to change.]
Checks if stream is write-able
Namespace:
CSInfrastructure.CodeContracts
Assembly:
CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax public static Stream IsWritable(
Stream stream,
string paramName
)
Parameters
- stream
- Type: System.IOStream
The stream to check - paramName
- Type: SystemString
The name of the parameter being checked
Return Value
Type:
StreamThe stream being checked
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when stream is NULL |
ArgumentException | Thrown when stream is not write-able |
See Also