Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the statements within the clause. /// ///// 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; } } } } // 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
- XmlSchemaException.cs
- DataGridState.cs
- ControlBuilder.cs
- TypeLibConverter.cs
- RegexNode.cs
- querybuilder.cs
- IpcChannel.cs
- ReturnType.cs
- EndOfStreamException.cs
- KernelTypeValidation.cs
- Rectangle.cs
- AdCreatedEventArgs.cs
- LoginName.cs
- TypeInitializationException.cs
- RoleManagerEventArgs.cs
- ProfileManager.cs
- Setter.cs
- DesignerMetadata.cs
- QilXmlWriter.cs
- ServicesUtilities.cs
- RemotingConfigParser.cs
- AssociationType.cs
- SQLDecimalStorage.cs
- EpmTargetTree.cs
- AspCompat.cs
- FileVersionInfo.cs
- SystemKeyConverter.cs
- XPathSelectionIterator.cs
- XmlHierarchicalDataSourceView.cs
- StringUtil.cs
- UserControlDocumentDesigner.cs
- DataTableMapping.cs
- Deflater.cs
- PropertyConverter.cs
- HtmlElementErrorEventArgs.cs
- SqlParameterCollection.cs
- MailAddress.cs
- TabPageDesigner.cs
- SiteOfOriginContainer.cs
- StateChangeEvent.cs
- xmlsaver.cs
- DataViewSetting.cs
- WinInetCache.cs
- StreamReader.cs
- AutoResetEvent.cs
- XmlHierarchyData.cs
- ResumeStoryboard.cs
- SessionPageStatePersister.cs
- ServerType.cs
- BatchServiceHost.cs
- ImageCollectionEditor.cs
- MappingMetadataHelper.cs
- CacheVirtualItemsEvent.cs
- BlurEffect.cs
- Enum.cs
- DrawingBrush.cs
- DynamicResourceExtensionConverter.cs
- FontDriver.cs
- AttributedMetaModel.cs
- GlobalizationAssembly.cs
- WindowsFormsSynchronizationContext.cs
- WebPartConnectionsCancelVerb.cs
- GeneralTransform3DCollection.cs
- DCSafeHandle.cs
- SqlDataAdapter.cs
- Random.cs
- TargetParameterCountException.cs
- X509SecurityTokenAuthenticator.cs
- ResourceSet.cs
- PermissionListSet.cs
- webeventbuffer.cs
- DbParameterHelper.cs
- AssemblyAttributes.cs
- HostingEnvironment.cs
- SafeCoTaskMem.cs
- ToolStripStatusLabel.cs
- GridViewHeaderRowPresenter.cs
- Endpoint.cs
- SimpleTypeResolver.cs
- PatternMatcher.cs
- BindValidationContext.cs
- SafeRegistryHandle.cs
- DataPagerCommandEventArgs.cs
- ObjectDataSourceFilteringEventArgs.cs
- Win32SafeHandles.cs
- returneventsaver.cs
- BaseTemplateBuildProvider.cs
- UnsignedPublishLicense.cs
- WorkflowDesigner.cs
- LineBreak.cs
- ZipIOLocalFileHeader.cs
- SmtpNtlmAuthenticationModule.cs
- NativeMethods.cs
- DrawingGroupDrawingContext.cs
- CachedPathData.cs
- CreateUserWizardStep.cs
- MenuScrollingVisibilityConverter.cs
- TrustVersion.cs
- XmlSchemaAttribute.cs
- ButtonBase.cs