Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / ProfileEventArgs.cs / 1305376 / ProfileEventArgs.cs
using System; using System.Collections; using System.Collections.Generic; using System.Workflow.ComponentModel; using System.Runtime.Serialization; using System.Security.Permissions; using System.Workflow.Runtime.Hosting; namespace System.Workflow.Runtime.Tracking { ////// EventArgs for IProfileNotification.ProfileUpdated event. /// public sealed class ProfileUpdatedEventArgs : EventArgs { private TrackingProfile _profile = null; private Type _workflowType = null; public ProfileUpdatedEventArgs() { } public ProfileUpdatedEventArgs(Type workflowType, TrackingProfile profile) { _workflowType = workflowType; _profile = profile; } public TrackingProfile TrackingProfile { get { return _profile; } set { _profile = value; } } public Type WorkflowType { get { return _workflowType; } set { _workflowType = value; } } } ////// EventArgs for IProfileNotification.ProfileRemoved event. /// public sealed class ProfileRemovedEventArgs : EventArgs { private Type _workflowType = null; public ProfileRemovedEventArgs() { } public ProfileRemovedEventArgs(Type workflowType) { _workflowType = workflowType; } public Type WorkflowType { get { return _workflowType; } set { _workflowType = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections; using System.Collections.Generic; using System.Workflow.ComponentModel; using System.Runtime.Serialization; using System.Security.Permissions; using System.Workflow.Runtime.Hosting; namespace System.Workflow.Runtime.Tracking { ////// EventArgs for IProfileNotification.ProfileUpdated event. /// public sealed class ProfileUpdatedEventArgs : EventArgs { private TrackingProfile _profile = null; private Type _workflowType = null; public ProfileUpdatedEventArgs() { } public ProfileUpdatedEventArgs(Type workflowType, TrackingProfile profile) { _workflowType = workflowType; _profile = profile; } public TrackingProfile TrackingProfile { get { return _profile; } set { _profile = value; } } public Type WorkflowType { get { return _workflowType; } set { _workflowType = value; } } } ////// EventArgs for IProfileNotification.ProfileRemoved event. /// public sealed class ProfileRemovedEventArgs : EventArgs { private Type _workflowType = null; public ProfileRemovedEventArgs() { } public ProfileRemovedEventArgs(Type workflowType) { _workflowType = workflowType; } public Type WorkflowType { get { return _workflowType; } set { _workflowType = value; } } } } // 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
- NumericPagerField.cs
- ScriptReferenceEventArgs.cs
- SmtpNtlmAuthenticationModule.cs
- BaseServiceProvider.cs
- PreProcessor.cs
- OAVariantLib.cs
- SqlNotificationRequest.cs
- ChangePassword.cs
- uribuilder.cs
- TemplatePagerField.cs
- BuildProviderUtils.cs
- KnownBoxes.cs
- XmlDictionaryString.cs
- MailAddressParser.cs
- ClientFormsAuthenticationCredentials.cs
- ErrorTolerantObjectWriter.cs
- AssemblyBuilder.cs
- ThumbAutomationPeer.cs
- InfoCardProofToken.cs
- RelationshipEnd.cs
- ResourcesBuildProvider.cs
- HttpPostedFile.cs
- WebConfigurationManager.cs
- OdbcDataReader.cs
- DefaultCompensation.cs
- CompilationPass2TaskInternal.cs
- OverflowException.cs
- Walker.cs
- HwndKeyboardInputProvider.cs
- Attributes.cs
- ResourceSet.cs
- ResourceAssociationType.cs
- IIS7UserPrincipal.cs
- KeyPullup.cs
- TableRow.cs
- EntityDataSourceEntitySetNameItem.cs
- FileDialogCustomPlace.cs
- MethodSignatureGenerator.cs
- GradientSpreadMethodValidation.cs
- XamlBrushSerializer.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- TextEndOfLine.cs
- CodeSnippetStatement.cs
- HMACSHA256.cs
- XPathExpr.cs
- LateBoundBitmapDecoder.cs
- SinglePageViewer.cs
- TracedNativeMethods.cs
- XmlSchemaParticle.cs
- ServiceProviders.cs
- ValidatingPropertiesEventArgs.cs
- LayoutTable.cs
- UpdateProgress.cs
- EntityClientCacheKey.cs
- ChtmlImageAdapter.cs
- DecimalAnimationUsingKeyFrames.cs
- DataControlFieldCell.cs
- CommandHelpers.cs
- SafeRightsManagementQueryHandle.cs
- cookie.cs
- SortKey.cs
- CardSpaceSelector.cs
- HttpCacheVary.cs
- ExpressionNode.cs
- ConstraintEnumerator.cs
- RegularExpressionValidator.cs
- TCEAdapterGenerator.cs
- ScrollableControl.cs
- DesignerSelectionListAdapter.cs
- PluralizationServiceUtil.cs
- TableLayoutPanelResizeGlyph.cs
- Constraint.cs
- ApplicationInfo.cs
- ParameterExpression.cs
- XmlSchemaExternal.cs
- SchemaInfo.cs
- DesignTimeHTMLTextWriter.cs
- StatusCommandUI.cs
- FormClosedEvent.cs
- SoapServerMessage.cs
- RichTextBoxAutomationPeer.cs
- CommentEmitter.cs
- GenericsNotImplementedException.cs
- RemoteTokenFactory.cs
- TypeUtil.cs
- DocumentViewerBase.cs
- ASCIIEncoding.cs
- CompilationUnit.cs
- DataGrid.cs
- CustomPopupPlacement.cs
- ReadOnlyTernaryTree.cs
- PageAsyncTask.cs
- Funcletizer.cs
- As.cs
- NumberSubstitution.cs
- ToolStripSplitButton.cs
- SessionMode.cs
- HtmlInputText.cs
- ConnectionStringsExpressionBuilder.cs
- XhtmlConformanceSection.cs