Class LicenseExtensions
Used when checking if a thrown exception is a licenseexception or not
Inheritance
System.Object
LicenseExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Client.Extensions
Assembly: ImageVault.Client.dll
Syntax
public static class LicenseExtensions
Fields
LicenseExceptionPrefix
Gets the LicenseExceptionPrefix of the LicenseExtensions
Declaration
[Obsolete("The constant is removed")]
public const string LicenseExceptionPrefix = "LICENSEEXCEPTION:"
Field Value
Type | Description |
---|---|
System.String |
Methods
IsLicenseException(Exception)
retur
Declaration
[Obsolete("Not used anymore. We are supplying ordinary LicenseExceptions on the client now. Just check if (exception is ImageVault.Common.License.LicenseException) instead")]
public static bool IsLicenseException(this Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception |
Returns
Type | Description |
---|---|
System.Boolean | True if exception is licenseexception, otherwise false. |
Exceptions
Type | Condition |
---|---|
System.NullReferenceException | If exception is null. |