//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
using System;
using System.Runtime.Serialization;
namespace System.IdentityModel.Tokens
{
///
/// Throw this exception when a received Security Token has been replayed.
///
[Serializable]
public class SecurityTokenReplayDetectedException : SecurityTokenValidationException
{
///
/// Initializes a new instance of
///
public SecurityTokenReplayDetectedException()
: base(SR.GetString(SR.ID1070))
{
}
///
/// Initializes a new instance of
///
public SecurityTokenReplayDetectedException(string message)
: base(message)
{
}
///
/// Initializes a new instance of
///
public SecurityTokenReplayDetectedException(string message, Exception inner)
: base(message, inner)
{
}
///
/// Initializes a new instance of
///
protected SecurityTokenReplayDetectedException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}