Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / SecureProtocols / AuthenticationException.cs / 1305376 / AuthenticationException.cs
/*++ Copyright (c) Microsoft Corporation Module Name: AuthenticationException.cs Abstract: The classes reperesent an exceptions resulted from authentication process. It is used by SSL and Negotiate protocol implementaions. FatalAuthentictionException usually means that the auth procees cannot (shoudl not) be retried over the same transport stream. Author: Alexei Vopilov 12-Aug-2003 Revision History: 12-Aug-2003 New design that has obsoleted Authenticator class 12-Dec-2003 FxCop: added default and serialization constructors --*/ namespace System.Security.Authentication { using System; using System.Runtime.Serialization; ////// [Serializable] public class AuthenticationException: SystemException { public AuthenticationException() {} protected AuthenticationException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) {} public AuthenticationException(string message): base(message) {} public AuthenticationException(string message, Exception innerException): base(message, innerException) {} } ////// This exception can be thrown from Authenticate() method of Ssl and Negotiate classes. /// The authentication process can be retried with different parameters subject to /// remote party willingess of accepting that. /// ////// [Serializable] public class InvalidCredentialException: AuthenticationException { public InvalidCredentialException() {} protected InvalidCredentialException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) {} public InvalidCredentialException(string message): base(message) {} public InvalidCredentialException(string message, Exception innerException):base(message, innerException) {} } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// This exception can be thrown from Authenticate() method of Ssl and Negotiate classes. /// The authentication is expected to fail prematurely if called using the same /// underlined stream. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListBindingHelper.cs
- Style.cs
- Delegate.cs
- FormViewUpdateEventArgs.cs
- NetworkInformationPermission.cs
- PeerNameRegistration.cs
- PathStreamGeometryContext.cs
- CheckedListBox.cs
- FrugalMap.cs
- WebPartConnectionsConfigureVerb.cs
- ApplicationBuildProvider.cs
- UnSafeCharBuffer.cs
- Debug.cs
- Splitter.cs
- EditorPartChrome.cs
- filewebresponse.cs
- XmlDataSourceNodeDescriptor.cs
- VisualBasic.cs
- RowUpdatingEventArgs.cs
- NavigationPropertyEmitter.cs
- ConfigurationLockCollection.cs
- ContextDataSourceContextData.cs
- QilTernary.cs
- EdmRelationshipRoleAttribute.cs
- IndexOutOfRangeException.cs
- LiteralDesigner.cs
- EntityObject.cs
- AttributeInfo.cs
- ClientScriptManagerWrapper.cs
- EntityUtil.cs
- DiscoveryClientBindingElement.cs
- DesignerSerializationVisibilityAttribute.cs
- GetPageNumberCompletedEventArgs.cs
- Rect3D.cs
- Hash.cs
- DragStartedEventArgs.cs
- System.Data_BID.cs
- AsymmetricKeyExchangeFormatter.cs
- StateManagedCollection.cs
- SingleObjectCollection.cs
- ScrollChrome.cs
- WebServiceMethodData.cs
- GenerateTemporaryAssemblyTask.cs
- DataBindingExpressionBuilder.cs
- CloudCollection.cs
- ButtonFlatAdapter.cs
- EventLogPermission.cs
- ColumnClickEvent.cs
- CFGGrammar.cs
- TypeUtil.cs
- AssemblyResourceLoader.cs
- KeyboardDevice.cs
- Canvas.cs
- SymbolMethod.cs
- SkinBuilder.cs
- PropertyGridView.cs
- Brushes.cs
- XamlInt32CollectionSerializer.cs
- ReadOnlyDictionary.cs
- ThreadAttributes.cs
- SystemIPInterfaceStatistics.cs
- Semaphore.cs
- TextFormatterContext.cs
- LabelLiteral.cs
- ObjectSelectorEditor.cs
- AffineTransform3D.cs
- XamlSerializationHelper.cs
- WindowsFont.cs
- HttpCacheParams.cs
- GeneralTransform2DTo3DTo2D.cs
- ReaderWriterLock.cs
- SystemInformation.cs
- TemplatedWizardStep.cs
- ArithmeticException.cs
- IntSumAggregationOperator.cs
- ProgressBar.cs
- SqlExpander.cs
- TabPanel.cs
- SoapHeaderAttribute.cs
- ExtentCqlBlock.cs
- WebServiceHandlerFactory.cs
- ColumnResult.cs
- RegexCompiler.cs
- AssemblyAttributesGoHere.cs
- SqlDuplicator.cs
- XmlBinaryReader.cs
- DetailsViewDeletedEventArgs.cs
- FactoryMaker.cs
- TreeViewDataItemAutomationPeer.cs
- Pair.cs
- ToolTip.cs
- TransformerTypeCollection.cs
- Parameter.cs
- DataServiceQuery.cs
- BindValidator.cs
- TableLayoutStyle.cs
- SignatureResourcePool.cs
- Attributes.cs
- PerfService.cs
- Timer.cs