Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / Tracking / TrackingParticipant.cs / 1305376 / TrackingParticipant.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Activities.Tracking { using System; using System.Runtime; public abstract class TrackingParticipant { protected TrackingParticipant() { } public virtual TrackingProfile TrackingProfile { get; set; } [Fx.Tag.InheritThrows(From="Track", FromDeclaringType=typeof(TrackingParticipant))] protected internal virtual IAsyncResult BeginTrack(TrackingRecord record, TimeSpan timeout, AsyncCallback callback, object state) { return new TrackAsyncResult(this, record, timeout, callback, state); } [Fx.Tag.InheritThrows(From = "Track", FromDeclaringType = typeof(TrackingParticipant))] protected internal virtual void EndTrack(IAsyncResult result) { TrackAsyncResult.End(result); } [Fx.Tag.Throws(typeof(Exception), "extensibility point")] [Fx.Tag.Throws.Timeout("Tracking data could not be saved before the timeout")] protected internal abstract void Track(TrackingRecord record, TimeSpan timeout); class TrackAsyncResult : AsyncResult { static Action
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlIncludeAttribute.cs
- ListViewCommandEventArgs.cs
- TraceHandlerErrorFormatter.cs
- PnrpPermission.cs
- JavascriptCallbackMessageInspector.cs
- ContentElementCollection.cs
- FileRecordSequenceCompletedAsyncResult.cs
- FrameworkContentElement.cs
- ThumbButtonInfo.cs
- AutomationPattern.cs
- ConfigPathUtility.cs
- DemultiplexingClientMessageFormatter.cs
- NumericUpDownAcceleration.cs
- DocumentXmlWriter.cs
- DescendentsWalkerBase.cs
- TreeView.cs
- ConfigurationStrings.cs
- DataGridViewSelectedColumnCollection.cs
- PathSegment.cs
- QualifiedCellIdBoolean.cs
- NegationPusher.cs
- SemaphoreSlim.cs
- querybuilder.cs
- DynamicHyperLink.cs
- EntityCollection.cs
- ReversePositionQuery.cs
- ProfileManager.cs
- WebPartCatalogAddVerb.cs
- DataGridColumnHeaderAutomationPeer.cs
- BaseHashHelper.cs
- DesignConnectionCollection.cs
- ReflectTypeDescriptionProvider.cs
- RegistryKey.cs
- Expander.cs
- SqlMethodCallConverter.cs
- KeyValuePairs.cs
- AssociationTypeEmitter.cs
- TrackingWorkflowEventArgs.cs
- SqlTypesSchemaImporter.cs
- UserControlBuildProvider.cs
- ImageInfo.cs
- SubclassTypeValidator.cs
- TemplateXamlParser.cs
- XmlObjectSerializerContext.cs
- TreeIterator.cs
- PageContentAsyncResult.cs
- DocumentSequence.cs
- TableLayoutRowStyleCollection.cs
- BevelBitmapEffect.cs
- DataGridTablesFactory.cs
- OracleFactory.cs
- EventSourceCreationData.cs
- SHA512Managed.cs
- ManagementScope.cs
- HttpListenerPrefixCollection.cs
- Icon.cs
- BitmapImage.cs
- CommonProperties.cs
- MdImport.cs
- AddInBase.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- TypeInformation.cs
- TextEditorParagraphs.cs
- WorkflowViewManager.cs
- AliasedExpr.cs
- TransformDescriptor.cs
- ProfileService.cs
- RequestQueryParser.cs
- DebugView.cs
- HostingEnvironmentException.cs
- DirectoryObjectSecurity.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- SqlClientPermission.cs
- HttpServerVarsCollection.cs
- MailHeaderInfo.cs
- XmlSequenceWriter.cs
- JapaneseLunisolarCalendar.cs
- IPipelineRuntime.cs
- FileSystemEventArgs.cs
- SqlUserDefinedAggregateAttribute.cs
- Pair.cs
- PropertyNames.cs
- PersonalizableAttribute.cs
- Size.cs
- SafeProcessHandle.cs
- TimeoutConverter.cs
- DateTimeOffsetAdapter.cs
- ComponentManagerBroker.cs
- DrawingAttributeSerializer.cs
- ModelItemImpl.cs
- MsmqIntegrationChannelFactory.cs
- DesignerLoader.cs
- ProtocolsConfiguration.cs
- ConfigWriter.cs
- SqlConnectionPoolGroupProviderInfo.cs
- GroupBoxRenderer.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- WebPartHeaderCloseVerb.cs
- TextWriterTraceListener.cs
- StylusEditingBehavior.cs