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
- ObjectSecurity.cs
- XmlSchemaSubstitutionGroup.cs
- IList.cs
- TimeoutHelper.cs
- SingleKeyFrameCollection.cs
- DebugViewWriter.cs
- ProgressBarBrushConverter.cs
- URIFormatException.cs
- NamedElement.cs
- WebPartConnectVerb.cs
- DataGridViewCell.cs
- XmlName.cs
- CellCreator.cs
- _DomainName.cs
- WebPermission.cs
- ProtocolsConfigurationHandler.cs
- StylusPointPropertyId.cs
- DeviceContexts.cs
- RelationshipType.cs
- bindurihelper.cs
- CodeIndexerExpression.cs
- CommandTreeTypeHelper.cs
- SQLConvert.cs
- StorageFunctionMapping.cs
- FrameworkElement.cs
- UnsafeNativeMethods.cs
- RequestStatusBarUpdateEventArgs.cs
- TextureBrush.cs
- GlobalizationSection.cs
- LazyLoadBehavior.cs
- ConvertEvent.cs
- GlyphRunDrawing.cs
- PrinterResolution.cs
- CapiSymmetricAlgorithm.cs
- WindowsListViewGroupHelper.cs
- Maps.cs
- NegatedCellConstant.cs
- OverloadGroupAttribute.cs
- CodeCatchClause.cs
- Logging.cs
- FormViewRow.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- CommonXSendMessage.cs
- PointKeyFrameCollection.cs
- DBSqlParser.cs
- DataControlCommands.cs
- CodeDelegateCreateExpression.cs
- SoapObjectWriter.cs
- ConnectionPoint.cs
- TextServicesCompartment.cs
- Win32MouseDevice.cs
- QueryServiceConfigHandle.cs
- SqlNotificationRequest.cs
- XmlEventCache.cs
- Vector3DKeyFrameCollection.cs
- MappingSource.cs
- JoinCqlBlock.cs
- SecureStringHasher.cs
- _Win32.cs
- InputScope.cs
- MarkupCompilePass1.cs
- XmlAttributeProperties.cs
- TextTreeTextElementNode.cs
- StructuralType.cs
- EventDescriptor.cs
- RoleService.cs
- StrongNameUtility.cs
- ApplicationHost.cs
- BitStream.cs
- RegionInfo.cs
- KeyMatchBuilder.cs
- MimePart.cs
- DragEventArgs.cs
- OdbcConnection.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- TypeUsage.cs
- NumberFunctions.cs
- ActivityCodeDomSerializer.cs
- TabItem.cs
- MemoryStream.cs
- HelpInfo.cs
- PropertyPanel.cs
- storepermissionattribute.cs
- SchemaMapping.cs
- WinEventHandler.cs
- MissingMemberException.cs
- TimerElapsedEvenArgs.cs
- DataGridViewSelectedRowCollection.cs
- SkewTransform.cs
- StatusBarAutomationPeer.cs
- WebUtil.cs
- RelationshipSet.cs
- BasicKeyConstraint.cs
- _ScatterGatherBuffers.cs
- XmlUtilWriter.cs
- SmiGettersStream.cs
- QueueProcessor.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- TabPage.cs
- Brushes.cs