//-----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------
namespace System.IdentityModel.Protocols.WSTrust
{
using System.Runtime.Serialization;
///
/// This indicates an error has occured while serializing/deserializing
/// a WS-Trust message.
///
[Serializable]
public class WSTrustSerializationException : Exception, ISerializable
{
///
/// Initializes a new instance of
///
public WSTrustSerializationException()
: this(SR.GetString(SR.ID3063))
{
}
///
/// Initializes a new instance of
///
/// The exception message.
public WSTrustSerializationException(string message)
: base(message)
{
}
///
/// Initializes a new instance of
///
/// Exception message.
/// Inner exception.
public WSTrustSerializationException(string message, Exception inner)
: base(message, inner)
{
}
///
/// Initializes a new instance of
///
/// Serialization information.
/// Streaming context.
protected WSTrustSerializationException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}