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
- EmbossBitmapEffect.cs
- BrowsableAttribute.cs
- CommandTreeTypeHelper.cs
- DbConnectionPool.cs
- ViewGenResults.cs
- UnauthorizedAccessException.cs
- StateBag.cs
- EmptyElement.cs
- HwndHost.cs
- XmlSchemaGroupRef.cs
- OdbcTransaction.cs
- TextTreeText.cs
- PrePostDescendentsWalker.cs
- MsmqBindingElementBase.cs
- WebDisplayNameAttribute.cs
- TypedElement.cs
- JapaneseCalendar.cs
- DataGridViewEditingControlShowingEventArgs.cs
- VerificationException.cs
- SqlBuffer.cs
- RegexWriter.cs
- NodeLabelEditEvent.cs
- QilLoop.cs
- SiteMapHierarchicalDataSourceView.cs
- PictureBoxDesigner.cs
- TextBox.cs
- ExceptionHelpers.cs
- ToolTip.cs
- DaylightTime.cs
- Column.cs
- PersonalizableTypeEntry.cs
- VectorCollectionValueSerializer.cs
- CodeAccessPermission.cs
- HtmlCommandAdapter.cs
- AddInAttribute.cs
- PolyLineSegment.cs
- Directory.cs
- NotifyParentPropertyAttribute.cs
- SemaphoreFullException.cs
- documentsequencetextview.cs
- AnnotationStore.cs
- Link.cs
- TableAdapterManagerNameHandler.cs
- XmlFormatExtensionPointAttribute.cs
- XmlSchemaComplexContentRestriction.cs
- HtmlInputText.cs
- ContextProperty.cs
- PostBackTrigger.cs
- TextElement.cs
- CollectionViewProxy.cs
- SvcMapFileLoader.cs
- TableLayoutSettingsTypeConverter.cs
- _HeaderInfoTable.cs
- SqlCharStream.cs
- TraceLog.cs
- basenumberconverter.cs
- BoolExpr.cs
- ExtentJoinTreeNode.cs
- PerspectiveCamera.cs
- TrackingConditionCollection.cs
- Timer.cs
- MetafileHeaderWmf.cs
- ListViewHitTestInfo.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- XPathSingletonIterator.cs
- ContextActivityUtils.cs
- XmlSchemaObjectTable.cs
- NewArrayExpression.cs
- Decoder.cs
- MapPathBasedVirtualPathProvider.cs
- NetNamedPipeBindingElement.cs
- XmlSchemaSimpleContent.cs
- StylusPointPropertyInfo.cs
- TextElementEnumerator.cs
- uribuilder.cs
- DtcInterfaces.cs
- TextDpi.cs
- ElementNotAvailableException.cs
- EventSinkHelperWriter.cs
- FrameworkRichTextComposition.cs
- TripleDES.cs
- ArgumentNullException.cs
- MethodBody.cs
- CodeMemberMethod.cs
- StructuredTypeInfo.cs
- HttpConfigurationContext.cs
- XmlSchemaFacet.cs
- WebConvert.cs
- EncodingDataItem.cs
- DragStartedEventArgs.cs
- PixelShader.cs
- XmlSchemaSet.cs
- StylusButton.cs
- ViewManager.cs
- PagerSettings.cs
- DataGridViewComponentPropertyGridSite.cs
- TextBlock.cs
- VirtualizingStackPanel.cs
- CodeIdentifiers.cs
- BamlWriter.cs