Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1305376 / CodeCatchClause.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCatchClause { private CodeStatementCollection statements; private CodeTypeReference catchExceptionType; private string localName; ///Represents a catch exception block. ////// public CodeCatchClause() { } ////// Initializes an instance of ///. /// /// public CodeCatchClause(string localName) { this.localName = localName; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { this.localName = localName; this.catchExceptionType = catchExceptionType; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { this.localName = localName; this.catchExceptionType = catchExceptionType; Statements.AddRange(statements); } ///[To be supplied.] ////// public string LocalName { get { return (localName == null) ? string.Empty: localName; } set { localName = value; } } ///[To be supplied.] ////// public CodeTypeReference CatchExceptionType { get { if (catchExceptionType == null) { catchExceptionType = new CodeTypeReference(typeof(System.Exception)); } return catchExceptionType; } set { catchExceptionType = value; } } ///[To be supplied.] ////// public CodeStatementCollection Statements { get { if (statements == null) { statements = new CodeStatementCollection(); } return statements; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the statements within the clause. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CommandValueSerializer.cs
- VerticalAlignConverter.cs
- SecurityPermission.cs
- TextBox.cs
- ItemCollection.cs
- DefaultParameterValueAttribute.cs
- RawAppCommandInputReport.cs
- SourceFileInfo.cs
- SeverityFilter.cs
- QilChoice.cs
- InplaceBitmapMetadataWriter.cs
- ObfuscateAssemblyAttribute.cs
- TreeNodeCollection.cs
- ToolStripActionList.cs
- DocumentScope.cs
- UriTemplateDispatchFormatter.cs
- AutomationPropertyInfo.cs
- Triplet.cs
- RequestCacheValidator.cs
- Hex.cs
- RuleInfoComparer.cs
- SQLByte.cs
- BitConverter.cs
- OleDbMetaDataFactory.cs
- DiscoveryOperationContextExtension.cs
- RedistVersionInfo.cs
- ToolStripItemImageRenderEventArgs.cs
- LicFileLicenseProvider.cs
- Invariant.cs
- CharEntityEncoderFallback.cs
- XmlAnyElementAttribute.cs
- XmlSchemaAll.cs
- ComponentResourceManager.cs
- BamlRecordWriter.cs
- TrackingWorkflowEventArgs.cs
- PackageStore.cs
- DataGridAddNewRow.cs
- OutputChannel.cs
- relpropertyhelper.cs
- BamlBinaryReader.cs
- XmlDocumentType.cs
- ModifierKeysValueSerializer.cs
- CaseInsensitiveHashCodeProvider.cs
- Viewport2DVisual3D.cs
- ZipIOModeEnforcingStream.cs
- TextEditorSelection.cs
- Page.cs
- AmbiguousMatchException.cs
- TempFiles.cs
- ValueUtilsSmi.cs
- FormatterConverter.cs
- PassportAuthenticationModule.cs
- NamespaceCollection.cs
- LineServicesCallbacks.cs
- ValidateNames.cs
- ContextMarshalException.cs
- Component.cs
- Operators.cs
- ColorContext.cs
- QueryParameter.cs
- PlainXmlSerializer.cs
- CodeNamespaceImportCollection.cs
- CurrencyWrapper.cs
- DummyDataSource.cs
- CompositeKey.cs
- WindowsStartMenu.cs
- TraceHandler.cs
- Command.cs
- TextEvent.cs
- DrawListViewSubItemEventArgs.cs
- ConfigurationLoader.cs
- AttributeCollection.cs
- DaylightTime.cs
- EpmCustomContentWriterNodeData.cs
- CatalogPartChrome.cs
- SqlFacetAttribute.cs
- DurableOperationAttribute.cs
- GeneralTransformCollection.cs
- ArrayWithOffset.cs
- ContextMenu.cs
- ByteStreamBufferedMessageData.cs
- CodeTypeParameterCollection.cs
- InstanceDescriptor.cs
- MailAddressCollection.cs
- UnsafePeerToPeerMethods.cs
- SafeArrayRankMismatchException.cs
- SessionStateModule.cs
- TextContainerChangeEventArgs.cs
- relpropertyhelper.cs
- ControlBuilder.cs
- SwitchAttribute.cs
- ComponentSerializationService.cs
- FontFamilyConverter.cs
- UsernameTokenFactoryCredential.cs
- Crypto.cs
- LinearGradientBrush.cs
- ReachObjectContext.cs
- TaiwanLunisolarCalendar.cs
- EqualityArray.cs
- HttpWebRequestElement.cs