Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- LassoSelectionBehavior.cs
- ClientUtils.cs
- SeparatorAutomationPeer.cs
- ControlUtil.cs
- CompoundFileReference.cs
- RemotingServices.cs
- ObjectAnimationUsingKeyFrames.cs
- HttpDebugHandler.cs
- ScrollBarRenderer.cs
- Query.cs
- RegionIterator.cs
- XmlText.cs
- XhtmlTextWriter.cs
- XmlSchema.cs
- OracleParameterBinding.cs
- Stacktrace.cs
- XmlTextEncoder.cs
- Graphics.cs
- PenThreadPool.cs
- Rect.cs
- DataGridViewRowConverter.cs
- BamlRecordHelper.cs
- StrongTypingException.cs
- DesignerFrame.cs
- Set.cs
- SubstitutionDesigner.cs
- recordstatefactory.cs
- FacetValueContainer.cs
- ComponentCodeDomSerializer.cs
- FormsAuthenticationTicket.cs
- ApplicationSecurityInfo.cs
- ListCardsInFileRequest.cs
- PublisherMembershipCondition.cs
- PointAnimation.cs
- HtmlElementEventArgs.cs
- ColumnPropertiesGroup.cs
- XPathMultyIterator.cs
- XmlSchemaException.cs
- ToolStripArrowRenderEventArgs.cs
- DbParameterCollectionHelper.cs
- StatusBar.cs
- BooleanToVisibilityConverter.cs
- XmlILIndex.cs
- XsltFunctions.cs
- MaskInputRejectedEventArgs.cs
- XmlnsDefinitionAttribute.cs
- DiagnosticsConfigurationHandler.cs
- SqlReferenceCollection.cs
- BulletedList.cs
- GradientStop.cs
- MimeFormImporter.cs
- ReadOnlyDictionary.cs
- XPathMessageFilterElementCollection.cs
- SerialStream.cs
- ConnectionOrientedTransportElement.cs
- Codec.cs
- UtilityExtension.cs
- EncryptedData.cs
- ButtonBase.cs
- ArrayHelper.cs
- XmlSignificantWhitespace.cs
- ConfigXmlElement.cs
- DataControlButton.cs
- CacheAxisQuery.cs
- EditableTreeList.cs
- CapiSymmetricAlgorithm.cs
- TextDecorations.cs
- CompoundFileReference.cs
- CodeIterationStatement.cs
- SqlDataSourceWizardForm.cs
- ConfigurationSchemaErrors.cs
- WebPartAuthorizationEventArgs.cs
- ResourceManager.cs
- sqlcontext.cs
- MultiBinding.cs
- FontSizeConverter.cs
- PropertyKey.cs
- UriSection.cs
- GridView.cs
- ObjectConverter.cs
- CalendarDay.cs
- HwndHostAutomationPeer.cs
- ReliableDuplexSessionChannel.cs
- UnmanagedMemoryStreamWrapper.cs
- COSERVERINFO.cs
- DescendentsWalkerBase.cs
- CapabilitiesAssignment.cs
- RelationshipFixer.cs
- DataServiceHost.cs
- Operators.cs
- ContentElementAutomationPeer.cs
- BufferedReadStream.cs
- ManagementExtension.cs
- SqlUDTStorage.cs
- ObjectStorage.cs
- InstanceDescriptor.cs
- ShapeTypeface.cs
- TypeElement.cs
- DES.cs
- CloudCollection.cs