//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Security { using System; /// /// Event Argument that is created when an Trust Request Fault is raised. /// public class WSTrustRequestProcessingErrorEventArgs : EventArgs { Exception _exception; string _requestType; /// /// Creates an instance of this Event Argument. /// /// The Trust Request Type that failed. /// The exception happend during this Request. public WSTrustRequestProcessingErrorEventArgs( string requestType, Exception exception ) { _exception = exception; _requestType = requestType; } /// /// Gets the Exception thrown. /// public Exception Exception { get { return _exception; } } /// /// Gets the Request Type that failed. /// public string RequestType { get { return _requestType; } } } }