Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Service / managed / Microsoft / InfoCards / AuditLog.cs / 1 / AuditLog.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using Microsoft.InfoCards; using Microsoft.InfoCards.Diagnostics; using IDT=Microsoft.InfoCards.Diagnostics.InfoCardTrace; // // Summary: // Provides a simple audit log abstraction allowing us to move to // the security log easily in v2. Currently we just log informational // messages to the application event log. // internal static class AuditLog { public static void AuditCardWritten() { IDT.Audit( EventCode.AUDIT_CARD_WRITTEN ); } public static void AuditCardDeletion() { IDT.Audit( EventCode.AUDIT_CARD_DELETE ); } public static void AuditCardImport() { IDT.Audit( EventCode.AUDIT_CARD_IMPORT ); } public static void AuditStoreImport() { IDT.Audit( EventCode.AUDIT_STORE_IMPORT ); } public static void AuditStoreExport() { IDT.Audit( EventCode.AUDIT_STORE_EXPORT ); } public static void AuditStoreDeletion() { IDT.Audit( EventCode.AUDIT_STORE_DELETE ); } } } // 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
- SqlBulkCopy.cs
- HttpModuleAction.cs
- HttpConfigurationSystem.cs
- versioninfo.cs
- RayHitTestParameters.cs
- BuildProvidersCompiler.cs
- StrokeRenderer.cs
- Oci.cs
- RegisteredScript.cs
- RawStylusInputCustomDataList.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ToolStripSeparator.cs
- DataGridViewTextBoxColumn.cs
- ECDiffieHellman.cs
- Constraint.cs
- SafeWaitHandle.cs
- XmlSiteMapProvider.cs
- StdRegProviderWrapper.cs
- ArrayConverter.cs
- Attributes.cs
- ContractHandle.cs
- SocketInformation.cs
- WSDualHttpSecurity.cs
- RadioButtonAutomationPeer.cs
- XPathNodeHelper.cs
- ScriptingSectionGroup.cs
- EllipticalNodeOperations.cs
- DispatcherOperation.cs
- PostBackOptions.cs
- Menu.cs
- GPPOINT.cs
- MessageBox.cs
- GetMemberBinder.cs
- SequenceDesignerAccessibleObject.cs
- ResXBuildProvider.cs
- CryptoApi.cs
- DecoderExceptionFallback.cs
- TypeElement.cs
- UDPClient.cs
- HttpServerChannel.cs
- ColorConverter.cs
- HyperLinkField.cs
- ModifiableIteratorCollection.cs
- NativeMethods.cs
- sitestring.cs
- PathGeometry.cs
- UICuesEvent.cs
- IPPacketInformation.cs
- KeyEvent.cs
- ControlParameter.cs
- BitmapEffect.cs
- ColumnPropertiesGroup.cs
- Subset.cs
- XmlCharType.cs
- _Semaphore.cs
- DataKeyCollection.cs
- DataGridAddNewRow.cs
- DataFieldConverter.cs
- TransportContext.cs
- SecurityTokenAuthenticator.cs
- BamlLocalizableResource.cs
- UriTemplateCompoundPathSegment.cs
- FlowchartStart.xaml.cs
- Preprocessor.cs
- FormsAuthenticationEventArgs.cs
- PersistenceProviderBehavior.cs
- WorkflowMarkupSerializationException.cs
- BulletChrome.cs
- RelationshipEntry.cs
- TabControl.cs
- PackWebRequestFactory.cs
- LinkGrep.cs
- GridEntryCollection.cs
- RangeValidator.cs
- ExternalFile.cs
- HttpRuntime.cs
- WebPartDescriptionCollection.cs
- DataGridViewImageColumn.cs
- SignatureDescription.cs
- FixedNode.cs
- FontUnitConverter.cs
- Int16AnimationUsingKeyFrames.cs
- DataGridViewRowsAddedEventArgs.cs
- SmtpReplyReader.cs
- InkCanvasFeedbackAdorner.cs
- EntityClassGenerator.cs
- RectAnimationClockResource.cs
- ReaderWriterLock.cs
- AssemblyBuilder.cs
- TypeElement.cs
- uribuilder.cs
- WebSysDisplayNameAttribute.cs
- ProgressBarBrushConverter.cs
- ScriptRef.cs
- SecurityContext.cs
- DoubleAnimationClockResource.cs
- MemoryStream.cs
- PreviewPageInfo.cs
- ImageSourceValueSerializer.cs
- StaticTextPointer.cs