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
- ElementNotEnabledException.cs
- TextTreeRootTextBlock.cs
- SimpleType.cs
- AsyncPostBackErrorEventArgs.cs
- SafeSecurityHelper.cs
- PlacementWorkspace.cs
- RijndaelManagedTransform.cs
- VirtualDirectoryMappingCollection.cs
- HttpResponseInternalWrapper.cs
- PrePrepareMethodAttribute.cs
- XmlLanguageConverter.cs
- Iis7Helper.cs
- DataGridTablesFactory.cs
- ScriptModule.cs
- ProfileProvider.cs
- ProfileBuildProvider.cs
- SecurityResources.cs
- UrlMappingCollection.cs
- HttpTransportManager.cs
- SubqueryTrackingVisitor.cs
- CustomAttributeFormatException.cs
- PtsCache.cs
- SuppressMergeCheckAttribute.cs
- AttributeInfo.cs
- LinkConverter.cs
- SafeLocalMemHandle.cs
- Win32Native.cs
- NamespaceCollection.cs
- LongMinMaxAggregationOperator.cs
- ShaperBuffers.cs
- ToolStripTemplateNode.cs
- FlowLayoutPanel.cs
- ValueChangedEventManager.cs
- ValidatorCollection.cs
- DbMetaDataCollectionNames.cs
- Visual3D.cs
- FixedSOMLineRanges.cs
- EmissiveMaterial.cs
- Types.cs
- PropertyValue.cs
- FormatterConverter.cs
- GreenMethods.cs
- FrugalMap.cs
- SwitchElementsCollection.cs
- TableColumnCollection.cs
- BinaryMessageEncodingElement.cs
- Point.cs
- PeerCustomResolverBindingElement.cs
- XmlnsDictionary.cs
- CalendarDateRangeChangingEventArgs.cs
- DataContractSerializer.cs
- URI.cs
- ProfileGroupSettingsCollection.cs
- StringUtil.cs
- activationcontext.cs
- TrackBarDesigner.cs
- TemplateKey.cs
- DragDeltaEventArgs.cs
- GridViewHeaderRowPresenter.cs
- ObjectListDesigner.cs
- DataBindingCollectionConverter.cs
- HtmlAnchor.cs
- EventTrigger.cs
- PageParserFilter.cs
- AssemblyResolver.cs
- DoubleLinkListEnumerator.cs
- InitializerFacet.cs
- ListViewSortEventArgs.cs
- PropertyTab.cs
- ObservableDictionary.cs
- InputLanguageProfileNotifySink.cs
- Pen.cs
- EntityDataSourceWrapperCollection.cs
- XmlWriter.cs
- ConfigurationValue.cs
- XmlILTrace.cs
- ApplicationManager.cs
- DocumentReference.cs
- XmlSchemaDocumentation.cs
- DataRecordInternal.cs
- SrgsOneOf.cs
- Claim.cs
- KeyedCollection.cs
- AssertSection.cs
- ConvertersCollection.cs
- TableLayout.cs
- ValueOfAction.cs
- MarginsConverter.cs
- AtomMaterializerLog.cs
- RenamedEventArgs.cs
- ClientBuildManager.cs
- ThreadStartException.cs
- LambdaCompiler.ControlFlow.cs
- Multiply.cs
- WebException.cs
- EnvelopedPkcs7.cs
- TransactionFlowAttribute.cs
- BackgroundFormatInfo.cs
- GridItemPatternIdentifiers.cs
- GrammarBuilder.cs