Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1305376 / CodeCatchClause.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- ElementsClipboardData.cs
- SqlErrorCollection.cs
- Verify.cs
- DataGridViewTopLeftHeaderCell.cs
- VirtualizedItemProviderWrapper.cs
- TraceHelpers.cs
- HandledEventArgs.cs
- BaseProcessor.cs
- MatrixTransform3D.cs
- CatalogPart.cs
- BindingWorker.cs
- MatrixAnimationUsingKeyFrames.cs
- DataGridItem.cs
- SqlRecordBuffer.cs
- DisposableCollectionWrapper.cs
- ConsoleKeyInfo.cs
- FormViewPageEventArgs.cs
- Splitter.cs
- StatusBarItemAutomationPeer.cs
- HyperLinkColumn.cs
- TextAdaptor.cs
- PermissionSetEnumerator.cs
- Point4D.cs
- WriteFileContext.cs
- TouchDevice.cs
- ComProxy.cs
- TreeView.cs
- ExpressionBuilder.cs
- Animatable.cs
- TextSchema.cs
- LogicalChannelCollection.cs
- NameValuePermission.cs
- SendMailErrorEventArgs.cs
- arc.cs
- Ray3DHitTestResult.cs
- CommentGlyph.cs
- MobileControlsSectionHandler.cs
- LifetimeServices.cs
- TabPanel.cs
- DbConnectionOptions.cs
- HtmlTextArea.cs
- DataGridViewImageCell.cs
- OdbcErrorCollection.cs
- DoubleLink.cs
- PointUtil.cs
- ParserContext.cs
- ApplicationServicesHostFactory.cs
- TypeBuilderInstantiation.cs
- OneToOneMappingSerializer.cs
- PlainXmlWriter.cs
- DesigntimeLicenseContext.cs
- ActivityCodeDomReferenceService.cs
- NameSpaceEvent.cs
- VectorAnimation.cs
- IItemContainerGenerator.cs
- HtmlControlPersistable.cs
- Sequence.cs
- ResourceExpression.cs
- DropTarget.cs
- HttpChannelBindingToken.cs
- XhtmlBasicControlAdapter.cs
- webclient.cs
- ClientOptions.cs
- ToolTip.cs
- KeyValueInternalCollection.cs
- OleDbErrorCollection.cs
- ComponentEditorPage.cs
- BinaryFormatterWriter.cs
- HtmlInputButton.cs
- SectionInput.cs
- PropertyDescriptorCollection.cs
- Control.cs
- BasicBrowserDialog.cs
- XmlSerializationReader.cs
- DrawListViewItemEventArgs.cs
- CFStream.cs
- TransformerInfoCollection.cs
- DeadLetterQueue.cs
- TerminatingOperationBehavior.cs
- _ConnectionGroup.cs
- ASCIIEncoding.cs
- InstanceValue.cs
- StreamInfo.cs
- RectIndependentAnimationStorage.cs
- PlainXmlWriter.cs
- DataControlFieldCell.cs
- TypeUtil.cs
- FacetValues.cs
- TimeSpanMinutesConverter.cs
- DateTime.cs
- DetailsViewModeEventArgs.cs
- ByteAnimationUsingKeyFrames.cs
- FunctionQuery.cs
- PolicyChain.cs
- DrawingCollection.cs
- StorageMappingItemLoader.cs
- WithStatement.cs
- InputLangChangeEvent.cs
- LambdaSerializationException.cs
- DashStyle.cs