1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 /*=============================================================================
9 ** Purpose: Exception thrown when a requested method or operation is not
13 =============================================================================*/
15 using System
.Runtime
.Serialization
;
20 [System
.Runtime
.CompilerServices
.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
21 public class NotImplementedException
: SystemException
23 public NotImplementedException()
24 : base(SR
.Arg_NotImplementedException
)
26 HResult
= HResults
.E_NOTIMPL
;
28 public NotImplementedException(string? message
)
31 HResult
= HResults
.E_NOTIMPL
;
33 public NotImplementedException(string? message
, Exception
? inner
)
34 : base(message
, inner
)
36 HResult
= HResults
.E_NOTIMPL
;
39 protected NotImplementedException(SerializationInfo info
, StreamingContext context
) : base(info
, context
)