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
- GuidelineSet.cs
- MLangCodePageEncoding.cs
- Int32RectValueSerializer.cs
- InternalControlCollection.cs
- AndCondition.cs
- LinqToSqlWrapper.cs
- DynamicObject.cs
- Hyperlink.cs
- LockCookie.cs
- HostedTcpTransportManager.cs
- RotationValidation.cs
- DBParameter.cs
- CommandLibraryHelper.cs
- BinaryKeyIdentifierClause.cs
- Button.cs
- DataSvcMapFile.cs
- ScriptingSectionGroup.cs
- ViewStateAttachedPropertyFeature.cs
- Style.cs
- ConcurrentBag.cs
- FacetDescription.cs
- InputScopeManager.cs
- MenuItemStyle.cs
- Scripts.cs
- NumericExpr.cs
- Set.cs
- AlphaSortedEnumConverter.cs
- PageAdapter.cs
- ImageUrlEditor.cs
- FolderBrowserDialog.cs
- XamlSerializer.cs
- LocatorPartList.cs
- CurrentChangedEventManager.cs
- COM2FontConverter.cs
- SoapMessage.cs
- HierarchicalDataBoundControl.cs
- InlineUIContainer.cs
- CodeIndexerExpression.cs
- BamlBinaryWriter.cs
- QuotedStringFormatReader.cs
- safex509handles.cs
- XslAstAnalyzer.cs
- LightweightCodeGenerator.cs
- HttpFileCollection.cs
- ServiceDescriptionSerializer.cs
- MostlySingletonList.cs
- XmlProcessingInstruction.cs
- UnaryNode.cs
- PersonalizationEntry.cs
- VisualCollection.cs
- BlurEffect.cs
- MulticastOption.cs
- AutomationPropertyInfo.cs
- NotifyIcon.cs
- SqlConnectionString.cs
- RoutingUtilities.cs
- SettingsPropertyIsReadOnlyException.cs
- ConfigXmlSignificantWhitespace.cs
- XmlArrayAttribute.cs
- wgx_commands.cs
- DynamicResourceExtension.cs
- HtmlInputReset.cs
- WindowsListViewGroupHelper.cs
- StringCollection.cs
- SoapHeaders.cs
- ServiceHttpModule.cs
- Path.cs
- CultureSpecificStringDictionary.cs
- Util.cs
- SpeechSeg.cs
- QueryableDataSourceHelper.cs
- InputBinder.cs
- Pen.cs
- Site.cs
- _DigestClient.cs
- ExpressionEditorAttribute.cs
- ObjectToIdCache.cs
- SaveCardRequest.cs
- XPathDocumentNavigator.cs
- XmlSchemaComplexContent.cs
- UIntPtr.cs
- SubclassTypeValidator.cs
- XmlKeywords.cs
- JumpList.cs
- PackageRelationship.cs
- ValidationContext.cs
- EdgeProfileValidation.cs
- ModelItemDictionaryImpl.cs
- FormParameter.cs
- ListBox.cs
- RtfToken.cs
- SystemBrushes.cs
- PermissionSet.cs
- SoapExtensionReflector.cs
- ArraySegment.cs
- Material.cs
- ByteAnimation.cs
- UnionCqlBlock.cs
- WsatTransactionHeader.cs
- WmlListAdapter.cs