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
- AttributeAction.cs
- FontDriver.cs
- XmlSchemaSimpleTypeList.cs
- AccessorTable.cs
- RegionInfo.cs
- CompositeDataBoundControl.cs
- TimeSpanValidatorAttribute.cs
- SafeViewOfFileHandle.cs
- GenericAuthenticationEventArgs.cs
- SqlServices.cs
- CommandLibraryHelper.cs
- LogExtentCollection.cs
- StyleCollection.cs
- TableRow.cs
- SoapHeaderException.cs
- EventArgs.cs
- DataGridCommandEventArgs.cs
- PointHitTestParameters.cs
- UseManagedPresentationBindingElementImporter.cs
- InvalidComObjectException.cs
- PreProcessInputEventArgs.cs
- AddingNewEventArgs.cs
- EpmSyndicationContentDeSerializer.cs
- PathSegmentCollection.cs
- EventPrivateKey.cs
- FromReply.cs
- QilIterator.cs
- RecognizedPhrase.cs
- IndentedWriter.cs
- DataPointer.cs
- AddInControllerImpl.cs
- OutputCacheProfileCollection.cs
- DataControlFieldCollection.cs
- TypedTableBaseExtensions.cs
- SqlAggregateChecker.cs
- sqlmetadatafactory.cs
- PageThemeCodeDomTreeGenerator.cs
- AtomMaterializerLog.cs
- CapabilitiesRule.cs
- CodePropertyReferenceExpression.cs
- QueryCacheEntry.cs
- VirtualPathProvider.cs
- TableRow.cs
- Transaction.cs
- ItemCheckedEvent.cs
- BuildDependencySet.cs
- WizardStepBase.cs
- MenuItemBinding.cs
- ParenthesizePropertyNameAttribute.cs
- ColorMap.cs
- PrtTicket_Editor.cs
- BinaryUtilClasses.cs
- GeneralTransform3DGroup.cs
- TimeStampChecker.cs
- VirtualizingPanel.cs
- ProtocolState.cs
- IndexedEnumerable.cs
- DataContractAttribute.cs
- AssemblyUtil.cs
- PeerNodeAddress.cs
- PointAnimation.cs
- DelegateHelpers.cs
- JoinQueryOperator.cs
- MetadataPropertyvalue.cs
- DocumentSequenceHighlightLayer.cs
- SiteIdentityPermission.cs
- SR.cs
- UncommonField.cs
- Border.cs
- DataTableTypeConverter.cs
- LicenseManager.cs
- StaticResourceExtension.cs
- TextTreeRootNode.cs
- PrivateFontCollection.cs
- PreservationFileReader.cs
- ClientData.cs
- TaiwanCalendar.cs
- NodeFunctions.cs
- FormatConvertedBitmap.cs
- LinkedList.cs
- SymLanguageType.cs
- SmtpDateTime.cs
- XmlMemberMapping.cs
- ValueTypeFieldReference.cs
- TextWriterTraceListener.cs
- ShimAsPublicXamlType.cs
- XmlSchemaSubstitutionGroup.cs
- TableColumn.cs
- TextParagraphProperties.cs
- XmlValidatingReader.cs
- ParserStreamGeometryContext.cs
- Byte.cs
- ExpressionConverter.cs
- XmlKeywords.cs
- AggregateNode.cs
- TextPointerBase.cs
- ListContractAdapter.cs
- FocusTracker.cs
- securitycriticaldataformultiplegetandset.cs
- Membership.cs