Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx35 / System.WorkflowServices / System / ServiceModel / Persistence / InstanceNotFoundException.cs / 1305376 / InstanceNotFoundException.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Persistence { using System; using System.Runtime.Serialization; using System.Security.Permissions; [Serializable] public class InstanceNotFoundException : PersistenceException { Guid id; public InstanceNotFoundException() : this(SR2.GetString(SR2.InstanceNotFoundDefault), null) { } public InstanceNotFoundException(string message) : this(message, null) { } public InstanceNotFoundException(string message, Exception innerException) : base(message, innerException) { } public InstanceNotFoundException(Guid id) : this(SR2.GetString(SR2.InstanceNotFoundSpecific, id)) { this.id = id; } public InstanceNotFoundException(Guid id, string message) : this(message, null) { this.id = id; } public InstanceNotFoundException(Guid id, string message, Exception innerException) : base(message, innerException) { this.id = id; } public InstanceNotFoundException(Guid id, Exception innerException) : this(SR2.GetString(SR2.InstanceNotFoundSpecific, id), innerException) { this.id = id; } protected InstanceNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { this.id = (Guid) info.GetValue("id", typeof(Guid)); } public Guid InstanceId { get { return this.id; } } [SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)] public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); info.AddValue("id", id); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IPEndPointCollection.cs
- ContentOperations.cs
- SqlExpressionNullability.cs
- ZeroOpNode.cs
- Serializer.cs
- StylusPointPropertyUnit.cs
- QuotedPairReader.cs
- DocumentViewerBaseAutomationPeer.cs
- SHA512Managed.cs
- WebReferenceCollection.cs
- SmtpNtlmAuthenticationModule.cs
- FileDialogPermission.cs
- DataServiceEntityAttribute.cs
- MimeBasePart.cs
- DocumentPage.cs
- XPathSelfQuery.cs
- ListControlBuilder.cs
- RowToFieldTransformer.cs
- AliasGenerator.cs
- CornerRadius.cs
- UInt32.cs
- SqlDataSource.cs
- ComplexType.cs
- DrawingBrush.cs
- MessageQueueCriteria.cs
- TaiwanCalendar.cs
- invalidudtexception.cs
- Pointer.cs
- DecimalAnimationBase.cs
- WebScriptEnablingBehavior.cs
- StreamAsIStream.cs
- ValidatorAttribute.cs
- SQLUtility.cs
- DetailsViewInsertEventArgs.cs
- TransformDescriptor.cs
- HMACSHA256.cs
- ActivityExecutor.cs
- ObjectViewListener.cs
- SizeFConverter.cs
- ProviderConnectionPoint.cs
- LookupNode.cs
- IgnoreDataMemberAttribute.cs
- DoubleLink.cs
- ContentPlaceHolder.cs
- GenericQueueSurrogate.cs
- SoundPlayerAction.cs
- _SslSessionsCache.cs
- MetadataPropertyvalue.cs
- CorrelationValidator.cs
- X509CertificateValidator.cs
- ComAdminWrapper.cs
- ComponentRenameEvent.cs
- ComEventsInfo.cs
- SystemUnicastIPAddressInformation.cs
- EventlogProvider.cs
- MarkerProperties.cs
- StandardRuntimeEnumValidatorAttribute.cs
- PerfService.cs
- ReadOnlyNameValueCollection.cs
- DataGridViewMethods.cs
- XmlStreamedByteStreamReader.cs
- AnimationTimeline.cs
- TemplateKeyConverter.cs
- CapabilitiesAssignment.cs
- TreeNodeBinding.cs
- RectangleGeometry.cs
- SoapEnumAttribute.cs
- SystemWebSectionGroup.cs
- Translator.cs
- XmlIlGenerator.cs
- ACE.cs
- StdRegProviderWrapper.cs
- StreamAsIStream.cs
- ObservableCollection.cs
- ClientRuntimeConfig.cs
- IncrementalHitTester.cs
- ADMembershipProvider.cs
- SoapTypeAttribute.cs
- DragCompletedEventArgs.cs
- HtmlTable.cs
- CodeArrayCreateExpression.cs
- UnaryOperationBinder.cs
- HandoffBehavior.cs
- ExecutedRoutedEventArgs.cs
- XmlDataSourceNodeDescriptor.cs
- HeaderUtility.cs
- UrlAuthorizationModule.cs
- DeploymentSection.cs
- LayoutTable.cs
- Lasso.cs
- SessionStateContainer.cs
- FixedDocumentPaginator.cs
- DesignerCalendarAdapter.cs
- WindowsFormsSynchronizationContext.cs
- EmissiveMaterial.cs
- ClosableStream.cs
- DecimalConstantAttribute.cs
- XmlComment.cs
- AuthenticationModuleElementCollection.cs
- WebPartTracker.cs