Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / SecureConversationDriver.cs / 1 / SecureConversationDriver.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Security { using System; using System.ServiceModel; using System.IdentityModel.Claims; using System.IdentityModel.Policy; using System.Runtime.Serialization; using System.Collections.Generic; using System.Diagnostics; using System.Xml; using System.Security.Principal; abstract class SecureConversationDriver { public virtual XmlDictionaryString CloseAction { get { // PreSharp Bug: Property get methods should not throw exceptions. #pragma warning suppress 56503 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SecureConversationDriverVersionDoesNotSupportSession))); } } public virtual XmlDictionaryString CloseResponseAction { get { // PreSharp Bug: Property get methods should not throw exceptions. #pragma warning suppress 56503 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SecureConversationDriverVersionDoesNotSupportSession))); } } public virtual bool IsSessionSupported { get { return false; } } public abstract XmlDictionaryString IssueAction { get; } public abstract XmlDictionaryString IssueResponseAction { get; } public virtual XmlDictionaryString RenewAction { get { // PreSharp Bug: Property get methods should not throw exceptions. #pragma warning suppress 56503 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SecureConversationDriverVersionDoesNotSupportSession))); } } public virtual XmlDictionaryString RenewResponseAction { get { // PreSharp Bug: Property get methods should not throw exceptions. #pragma warning suppress 56503 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SecureConversationDriverVersionDoesNotSupportSession))); } } public abstract XmlDictionaryString Namespace { get; } public abstract XmlDictionaryString RenewNeededFaultCode { get; } public abstract XmlDictionaryString BadContextTokenFaultCode { get; } public abstract string TokenTypeUri { get; } public abstract UniqueId GetSecurityContextTokenId(XmlDictionaryReader reader); public abstract bool IsAtSecurityContextToken(XmlDictionaryReader reader); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpValueCollection.cs
- LazyTextWriterCreator.cs
- DesignerTextWriter.cs
- XmlValidatingReaderImpl.cs
- OperatingSystem.cs
- IdentitySection.cs
- PropertyBuilder.cs
- TypeDefinition.cs
- ContainerAction.cs
- ExcludeFromCodeCoverageAttribute.cs
- XmlMembersMapping.cs
- MailWebEventProvider.cs
- XmlDataSourceNodeDescriptor.cs
- NopReturnReader.cs
- EnumConverter.cs
- PropertyEntry.cs
- EpmContentDeSerializerBase.cs
- LocationUpdates.cs
- ShellProvider.cs
- MessageEncoderFactory.cs
- WorkerRequest.cs
- AstTree.cs
- PropertyEmitter.cs
- EmbeddedMailObjectsCollection.cs
- EntityDataSourceView.cs
- ClientConfigPaths.cs
- DefinitionBase.cs
- ChtmlImageAdapter.cs
- DynamicResourceExtension.cs
- ChildTable.cs
- WebDisplayNameAttribute.cs
- XmlResolver.cs
- X509WindowsSecurityToken.cs
- ContractAdapter.cs
- EndpointBehaviorElementCollection.cs
- COM2ExtendedBrowsingHandler.cs
- _ScatterGatherBuffers.cs
- RepeaterItemCollection.cs
- RawMouseInputReport.cs
- PolyLineSegment.cs
- XslTransform.cs
- MemoryStream.cs
- ViewValidator.cs
- ExpressionServices.cs
- DataGridViewCheckBoxCell.cs
- SecurityRuntime.cs
- EllipticalNodeOperations.cs
- _DisconnectOverlappedAsyncResult.cs
- EventBuilder.cs
- Viewport3DVisual.cs
- Guid.cs
- WebResourceUtil.cs
- DataGridViewUtilities.cs
- SoapFault.cs
- AvTraceFormat.cs
- BitmapVisualManager.cs
- PageSettings.cs
- CleanUpVirtualizedItemEventArgs.cs
- TargetFrameworkUtil.cs
- AspNetSynchronizationContext.cs
- SafeCryptoHandles.cs
- ConfigurationSection.cs
- ContentWrapperAttribute.cs
- CompositeFontInfo.cs
- ComboBox.cs
- BaseUriHelper.cs
- ProfileBuildProvider.cs
- NamespaceImport.cs
- DataServiceEntityAttribute.cs
- Rect.cs
- parserscommon.cs
- MetafileHeaderWmf.cs
- StatusBarItem.cs
- WebPartVerbCollection.cs
- MsdtcClusterUtils.cs
- IdnElement.cs
- AutomationIdentifierGuids.cs
- HtmlElement.cs
- XmlSerializationWriter.cs
- GeometryGroup.cs
- Deflater.cs
- WebContentFormatHelper.cs
- ForwardPositionQuery.cs
- DbConnectionPoolGroup.cs
- ASCIIEncoding.cs
- XPathNodeIterator.cs
- ActionMismatchAddressingException.cs
- MutexSecurity.cs
- SchemaCollectionPreprocessor.cs
- Msec.cs
- ColorContext.cs
- ItemCheckEvent.cs
- RepeaterItemCollection.cs
- DocumentViewerAutomationPeer.cs
- TranslateTransform.cs
- X509CertificateInitiatorClientCredential.cs
- OlePropertyStructs.cs
- CompoundFileReference.cs
- ObjectDataSourceDisposingEventArgs.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs