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
- StringValidator.cs
- ISCIIEncoding.cs
- WebException.cs
- MgmtConfigurationRecord.cs
- SQLInt32.cs
- DatePicker.cs
- TextElementAutomationPeer.cs
- HtmlUtf8RawTextWriter.cs
- UniqueIdentifierService.cs
- CodeArrayCreateExpression.cs
- SqlDataReaderSmi.cs
- ImageList.cs
- TextHidden.cs
- RawAppCommandInputReport.cs
- ServiceEndpointCollection.cs
- DelegatedStream.cs
- XmlSchemaComplexContentExtension.cs
- MobileFormsAuthentication.cs
- ObsoleteAttribute.cs
- GroupStyle.cs
- Automation.cs
- XmlSchemaAnyAttribute.cs
- CursorConverter.cs
- Vector3DValueSerializer.cs
- ActionItem.cs
- SettingsPropertyValue.cs
- RoutedUICommand.cs
- BrowserCapabilitiesFactory.cs
- CodeGeneratorOptions.cs
- OptimizedTemplateContent.cs
- MethodCallConverter.cs
- Empty.cs
- MouseWheelEventArgs.cs
- ConfigurationElementCollection.cs
- EntityWithChangeTrackerStrategy.cs
- HMAC.cs
- StringConverter.cs
- PriorityChain.cs
- GlyphingCache.cs
- MetadataArtifactLoaderResource.cs
- CodePageUtils.cs
- DataGridViewCellLinkedList.cs
- MultiView.cs
- HttpApplicationFactory.cs
- UnionExpr.cs
- XsltSettings.cs
- GridViewAutomationPeer.cs
- BitConverter.cs
- MatrixTransform.cs
- SqlColumnizer.cs
- TerminatorSinks.cs
- GenerateTemporaryTargetAssembly.cs
- SQLBytesStorage.cs
- TreeIterators.cs
- UnknownBitmapEncoder.cs
- IApplicationTrustManager.cs
- ConnectivityStatus.cs
- TreeSet.cs
- MatrixTransform3D.cs
- Win32PrintDialog.cs
- SmtpReplyReaderFactory.cs
- CfgSemanticTag.cs
- BezierSegment.cs
- CollectionBuilder.cs
- CompilationRelaxations.cs
- IisNotInstalledException.cs
- SqlCommand.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ListViewInsertEventArgs.cs
- SiteMapSection.cs
- ControlBuilderAttribute.cs
- ReflectionUtil.cs
- RectangleHotSpot.cs
- SoapAttributeAttribute.cs
- UserControl.cs
- NativeMethods.cs
- SafeEventLogReadHandle.cs
- SecurityDescriptor.cs
- UnsafeNativeMethods.cs
- DbConnectionHelper.cs
- OutputScope.cs
- BrowserCapabilitiesFactory.cs
- ThicknessConverter.cs
- InheritedPropertyChangedEventArgs.cs
- WinFormsUtils.cs
- ServiceDescriptions.cs
- IIS7WorkerRequest.cs
- RegexCompilationInfo.cs
- HandlerBase.cs
- EventLog.cs
- TemplateBamlTreeBuilder.cs
- NavigationService.cs
- XmlNavigatorStack.cs
- DocumentScope.cs
- ScrollProviderWrapper.cs
- FlowLayoutSettings.cs
- EventWaitHandle.cs
- Part.cs
- TreeNodeMouseHoverEvent.cs
- SqlBulkCopyColumnMappingCollection.cs