Xamarin Public Jenkins c042cd0c52 Imported Upstream version 4.2.0.179
Former-commit-id: 4610231f55806d2a05ed69e5ff3faa7336cc1479
2015-11-10 15:03:43 +00:00

44 lines
1.2 KiB
C#

// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: NotSupportedException
**
**
** Purpose: For methods that should be implemented on subclasses.
**
**
=============================================================================*/
namespace System {
using System;
using System.Runtime.Serialization;
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable]
public partial class NotSupportedException : SystemException
{
public NotSupportedException()
: base(Environment.GetResourceString("Arg_NotSupportedException")) {
SetErrorCode(__HResults.COR_E_NOTSUPPORTED);
}
public NotSupportedException(String message)
: base(message) {
SetErrorCode(__HResults.COR_E_NOTSUPPORTED);
}
public NotSupportedException(String message, Exception innerException)
: base(message, innerException) {
SetErrorCode(__HResults.COR_E_NOTSUPPORTED);
}
protected NotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) {
}
}
}