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
- SafeNativeMethods.cs
- _NegoStream.cs
- HttpException.cs
- ComponentChangedEvent.cs
- IsolatedStoragePermission.cs
- FileLogRecordEnumerator.cs
- PenContext.cs
- TextViewBase.cs
- ILGenerator.cs
- UserControl.cs
- CapabilitiesRule.cs
- TableLayout.cs
- DbExpressionBuilder.cs
- wgx_exports.cs
- MethodImplAttribute.cs
- AttachmentService.cs
- JumpTask.cs
- ForceCopyBuildProvider.cs
- EditingContext.cs
- MarkedHighlightComponent.cs
- ObjectPersistData.cs
- DrawingContextWalker.cs
- HandlerWithFactory.cs
- SerializationStore.cs
- CompilerHelpers.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ItemCollection.cs
- DataGridPageChangedEventArgs.cs
- PostBackOptions.cs
- _AutoWebProxyScriptEngine.cs
- CollectionContainer.cs
- BamlWriter.cs
- GradientStopCollection.cs
- DependencyObjectValidator.cs
- DataGridViewSelectedColumnCollection.cs
- SystemEvents.cs
- XsltConvert.cs
- LockedHandleGlyph.cs
- DecimalAnimation.cs
- GridItemPattern.cs
- COM2Enum.cs
- DataGridLength.cs
- WebPartUserCapability.cs
- Keyboard.cs
- FormattedText.cs
- EmbeddedMailObject.cs
- DataSetUtil.cs
- ECDsaCng.cs
- CellParaClient.cs
- AdRotator.cs
- IISMapPath.cs
- SecurityManager.cs
- WorkerRequest.cs
- CustomAttributeBuilder.cs
- Int32Rect.cs
- XmlObjectSerializer.cs
- precedingsibling.cs
- SqlUnionizer.cs
- MetadataReference.cs
- SerialPinChanges.cs
- ZipIOCentralDirectoryFileHeader.cs
- XsdDateTime.cs
- ContentHostHelper.cs
- X500Name.cs
- NavigationService.cs
- ModulesEntry.cs
- SemanticBasicElement.cs
- XslCompiledTransform.cs
- SessionStateContainer.cs
- PresentationAppDomainManager.cs
- IndentTextWriter.cs
- RegexReplacement.cs
- RootBuilder.cs
- BufferedStream.cs
- SqlRetyper.cs
- WebExceptionStatus.cs
- SqlBooleanizer.cs
- ResourceReferenceExpression.cs
- JsonEnumDataContract.cs
- StringFreezingAttribute.cs
- FaultReason.cs
- ComboBox.cs
- HttpCachePolicy.cs
- DoubleLink.cs
- ChameleonKey.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- XamlGridLengthSerializer.cs
- Compiler.cs
- ToolboxComponentsCreatingEventArgs.cs
- XamlTreeBuilder.cs
- DtdParser.cs
- ConfigurationLoader.cs
- ManualResetEvent.cs
- UserControlFileEditor.cs
- MessageQueueEnumerator.cs
- Stopwatch.cs
- BehaviorEditorPart.cs
- Parameter.cs
- SQLGuidStorage.cs
- SpanIndex.cs