master
md 20 lines 463 Bytes
Rendered Raw
1 # ContainerNamedVolume
2
3 Maps a session-managed named VHD volume into the container.
4
5 ```csharp
6 public sealed class ContainerNamedVolume
7 {
8 public ContainerNamedVolume(string name, string containerPath, bool readOnly);
9
10 public string Name { get; set; }
11 public string ContainerPath { get; set; }
12 public bool ReadOnly { get; set; }
13 }
14 ```
15
16 Example:
17
18 ```csharp
19 var namedVolume = new ContainerNamedVolume("cache", "/var/cache/app", readOnly: false);
20 ```