Exploit databaseDownload repository ZIP
GH-88d8bc551618926a04536090300b4292
dungnm24/cve-2020-0796
Sources for CVE-2020-0796
81 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
dungnm24/cve-2020-0796Revision fe7aebbe1789
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
WindowsProtocolTestSuites/TestSuites/BranchCache/src/MS-PCHC/Server/Adapter/Exception/NoResponseMessageException.cs
C# · 2,716 bytes// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Protocols.TestSuites.Pchc
{
using System;
using System.Runtime.Serialization;
using System.Security;
using Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pchc;
/// <summary>
/// NoResponseMessageException which is inherited from TimeoutException to
/// specify no RESPONSE_MESSAGE is received from the hosted cache server.
/// </summary>
[Serializable]
public class NoResponseMessageException : NoRESPONSEMESSAGEException
{
/// <summary>
/// Initializes a new instance of the NoResponseMessageException class.
/// </summary>
public NoResponseMessageException()
: base()
{
}
/// <summary>
/// Initializes a new instance of the NoResponseMessageException class with a specified
/// error message is the cause of this exception.
/// </summary>
/// <param name="message">The error message that explains the reason for the exception.</param>
public NoResponseMessageException(string message)
: base(message)
{
}
/// <summary>
/// Initializes a new instance of the NoResponseMessageException class with a specified
/// error message and a reference to the inner exception that is the cause of
/// this exception.
/// </summary>
/// <param name="message">The error message that explains the reason for the exception.</param>
/// <param name="inner">
/// The exception that is the cause of the current exception, or a null reference
/// (Nothing in Visual Basic) if no inner exception is specified.
/// </param>
public NoResponseMessageException(string message, Exception inner)
: base(message, inner)
{
}
/// <summary>
/// Initializes a new instance of the NoResponseMessageException class with serialized data.
/// </summary>
/// <param name="info">
/// The System.Runtime.Serialization.SerializationInfo that holds the serialized
/// object data about the exception being thrown.
/// </param>
/// <param name="context">
/// The System.Runtime.Serialization.StreamingContext that contains contextual
/// information about the source or destination.
/// </param>
[SecuritySafeCritical]
protected NoResponseMessageException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}