Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1 / CodeCatchClause.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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; } } } }/// Gets or sets the statements within the clause. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TypeDescriptionProvider.cs
- IdnElement.cs
- EventLogStatus.cs
- CodeNamespaceCollection.cs
- OutputCacheProviderCollection.cs
- PagesChangedEventArgs.cs
- HtmlControlPersistable.cs
- TextSelectionProcessor.cs
- ScriptControlManager.cs
- Boolean.cs
- CryptoHandle.cs
- CaseInsensitiveHashCodeProvider.cs
- WriteTimeStream.cs
- LinqDataSourceContextEventArgs.cs
- IndentTextWriter.cs
- RubberbandSelector.cs
- SecurityMode.cs
- GlyphElement.cs
- XamlPathDataSerializer.cs
- DesignBindingEditor.cs
- BindingValueChangedEventArgs.cs
- BaseCollection.cs
- CapabilitiesRule.cs
- DecoderFallback.cs
- EntityDataSourceChangedEventArgs.cs
- InboundActivityHelper.cs
- DocumentPageView.cs
- SafeFileMappingHandle.cs
- ArcSegment.cs
- EntityDataSourceContextCreatedEventArgs.cs
- DataRecordInternal.cs
- Memoizer.cs
- PtsContext.cs
- XmlSecureResolver.cs
- PtsCache.cs
- FixedTextBuilder.cs
- FragmentQuery.cs
- ColorAnimationBase.cs
- DataGridViewBand.cs
- Menu.cs
- ThicknessAnimation.cs
- ListControl.cs
- XmlSecureResolver.cs
- Durable.cs
- SwitchCase.cs
- QueryAsyncResult.cs
- ClientRoleProvider.cs
- VectorCollectionValueSerializer.cs
- WindowsStartMenu.cs
- ScrollItemPattern.cs
- ClassHandlersStore.cs
- WasNotInstalledException.cs
- RenderTargetBitmap.cs
- EditBehavior.cs
- ColorBuilder.cs
- PageCatalogPart.cs
- XmlUtf8RawTextWriter.cs
- SvcMapFile.cs
- ListManagerBindingsCollection.cs
- printdlgexmarshaler.cs
- BindingBase.cs
- AnnotationHelper.cs
- xmlglyphRunInfo.cs
- TileBrush.cs
- ToolStripMenuItemCodeDomSerializer.cs
- ExpandCollapseProviderWrapper.cs
- PageWrapper.cs
- TextSelectionHelper.cs
- NegotiateStream.cs
- UnsafeNativeMethodsPenimc.cs
- SystemInfo.cs
- FixedDSBuilder.cs
- GeometryCombineModeValidation.cs
- ValidatingReaderNodeData.cs
- ObjectListDesigner.cs
- CacheMode.cs
- LazyLoadBehavior.cs
- SByteConverter.cs
- ToolStripSplitButton.cs
- shaperfactoryquerycacheentry.cs
- SqlCommand.cs
- CreateUserWizard.cs
- TransactionTraceIdentifier.cs
- panel.cs
- SessionStateItemCollection.cs
- ActivityCollectionMarkupSerializer.cs
- ClientProxyGenerator.cs
- ExtensibleSyndicationObject.cs
- VisualStateManager.cs
- CodeExpressionRuleDeclaration.cs
- PreviewPageInfo.cs
- DataTablePropertyDescriptor.cs
- LogLogRecordEnumerator.cs
- Attribute.cs
- SafeNativeMethodsCLR.cs
- CryptoStream.cs
- URLMembershipCondition.cs
- ReachDocumentSequenceSerializerAsync.cs
- PagesSection.cs
- FunctionParameter.cs