Skip to content

Commit 5318d1c

Browse files
committed
bumping version for release; updated README
1 parent 0d9388a commit 5318d1c

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

Box.V2/Box.V2.nuspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<package >
33
<metadata>
44
<id>Box.V2</id>
5-
<version>2.11.0</version>
5+
<version>2.12.0</version>
66
<title>Box Windows SDK V2</title>
77
<authors>Box, Inc.</authors>
88
<owners>Box, Inc.</owners>
99
<projectUrl>https://github.com/box/box-windows-sdk-v2</projectUrl>
1010
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1111
<description>Windows SDK for v2 of the Box API. The SDK is built upon the Portable Class Library and targets the following frameworks: .NET for Windows Store apps, .NET Framework 4.0, Silverlight 4 and higher, Windows Phone 7.5 and higher</description>
12-
<releaseNotes>Adds support for accessing data returned by pre-flight checks. Adds support for specifying 'notify' query parameter when creating a collaboration. Adds support for suppressing notifications.</releaseNotes>
13-
<copyright>Copyright 2015</copyright>
12+
<releaseNotes>Adds support for catching conflict exceptions properly when performing a BoxPreflightCheckRequest. Adds support for Box Webhooks V2.</releaseNotes>
13+
<copyright>Copyright 2016</copyright>
1414
<tags>Box V2 SDK Platform Enterprise Collaboration Storage File Management</tags>
1515
</metadata>
1616
</package>

Box.V2/Config/BoxConfig.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Box.V2.Config
77
{
88
public class BoxConfig : IBoxConfig
99
{
10-
private const string DefaultUserAgent = "Box Windows SDK v2.11.0";
10+
private const string DefaultUserAgent = "Box Windows SDK v2.12.0";
1111

1212
/// <summary>
1313
/// Instantiates a Box config with all of the standard defaults

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,13 @@ try
168168
//exception will be thrown if name collision or storage limit would be exceeded by upload
169169
await userClient.FilesManager.PreflightCheck(req);
170170
}
171+
catch (BoxPreflightCheckConflictException<BoxFile> bex)
172+
{
173+
//Handle file name collision error
174+
}
171175
catch (BoxException bex)
172176
{
173-
//Handle error
177+
//Handle storage limit error
174178
}
175179
```
176180

@@ -185,7 +189,7 @@ try
185189
}
186190
catch (BoxException bex)
187191
{
188-
//Handle error
192+
//Handle storage limit error
189193
}
190194
```
191195

0 commit comments

Comments
 (0)