Code:
/ FX-1434 / FX-1434 / 1.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
- ClientTargetSection.cs
- WorkflowMessageEventHandler.cs
- EUCJPEncoding.cs
- DefaultValueConverter.cs
- TrueReadOnlyCollection.cs
- ObfuscateAssemblyAttribute.cs
- RecordConverter.cs
- CounterCreationDataCollection.cs
- DataColumn.cs
- FixUp.cs
- Attribute.cs
- PreservationFileReader.cs
- PageSetupDialog.cs
- XmlFormatExtensionPointAttribute.cs
- MessagePartDescriptionCollection.cs
- CallInfo.cs
- DragSelectionMessageFilter.cs
- XmlPropertyBag.cs
- SimpleFieldTemplateFactory.cs
- CellConstant.cs
- ConnectionInterfaceCollection.cs
- AppDomainFactory.cs
- RecordManager.cs
- UriParserTemplates.cs
- WindowsAuthenticationModule.cs
- OutOfProcStateClientManager.cs
- ModelPerspective.cs
- _SSPISessionCache.cs
- CryptoConfig.cs
- ToolStripPanelRenderEventArgs.cs
- JavaScriptObjectDeserializer.cs
- SystemIcmpV6Statistics.cs
- BaseTemplateParser.cs
- LayoutDump.cs
- ViewGenResults.cs
- DependencyPropertyKind.cs
- ToolStripDropDownItem.cs
- TreeNode.cs
- SqlFunctionAttribute.cs
- BamlResourceSerializer.cs
- UnsafeNetInfoNativeMethods.cs
- HttpRequest.cs
- HttpDebugHandler.cs
- TemplateBindingExtensionConverter.cs
- OneOfScalarConst.cs
- TraceLog.cs
- CalendarDataBindingHandler.cs
- SQLDouble.cs
- TextRangeAdaptor.cs
- WebEventTraceProvider.cs
- ConnectionPoolManager.cs
- HashLookup.cs
- NamedPermissionSet.cs
- InvariantComparer.cs
- TopClause.cs
- TcpProcessProtocolHandler.cs
- CalendarDay.cs
- XmlSchema.cs
- DataGridViewColumnCollection.cs
- Pair.cs
- SmtpAuthenticationManager.cs
- DBDataPermissionAttribute.cs
- WindowAutomationPeer.cs
- PartBasedPackageProperties.cs
- ReachPageContentSerializerAsync.cs
- ZipIOExtraFieldZip64Element.cs
- XmlValidatingReaderImpl.cs
- WebBrowserNavigatingEventHandler.cs
- Registry.cs
- ToolStripScrollButton.cs
- JsonWriter.cs
- Pair.cs
- SapiAttributeParser.cs
- XslException.cs
- ActivityExecutor.cs
- ItemDragEvent.cs
- DesignerCategoryAttribute.cs
- BamlStream.cs
- BlobPersonalizationState.cs
- VisualState.cs
- XPathParser.cs
- SecondaryIndexList.cs
- WebPartTransformer.cs
- RequestCachingSection.cs
- SubtreeProcessor.cs
- Attributes.cs
- ExpressionBuilder.cs
- ToolStrip.cs
- XmlCharCheckingWriter.cs
- Token.cs
- DescriptionAttribute.cs
- TableItemStyle.cs
- MultiSelectRootGridEntry.cs
- DataSourceConverter.cs
- Privilege.cs
- XhtmlTextWriter.cs
- TableLayoutSettingsTypeConverter.cs
- NavigationPropertyAccessor.cs
- ProviderConnectionPointCollection.cs
- ColorConvertedBitmap.cs