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
- DesignTable.cs
- RSAPKCS1SignatureDeformatter.cs
- CompensationHandlingFilter.cs
- CloudCollection.cs
- SqlOuterApplyReducer.cs
- EventSource.cs
- PropertyItem.cs
- InstanceContextMode.cs
- OpenFileDialog.cs
- DBSqlParserTableCollection.cs
- LocalizableAttribute.cs
- AsymmetricKeyExchangeDeformatter.cs
- SiteMapDesignerDataSourceView.cs
- MultipartContentParser.cs
- BaseAddressElement.cs
- TransportSecurityProtocol.cs
- PointAnimationUsingKeyFrames.cs
- DecoderBestFitFallback.cs
- ParallelActivityDesigner.cs
- TagMapInfo.cs
- HtmlDocument.cs
- StaticExtension.cs
- BooleanAnimationUsingKeyFrames.cs
- TrailingSpaceComparer.cs
- EncryptedType.cs
- XmlJsonReader.cs
- GuidConverter.cs
- BaseResourcesBuildProvider.cs
- FontSizeConverter.cs
- _BaseOverlappedAsyncResult.cs
- mactripleDES.cs
- SqlRowUpdatedEvent.cs
- SerialStream.cs
- TextBox.cs
- TitleStyle.cs
- Int32RectValueSerializer.cs
- HttpListenerContext.cs
- MediaScriptCommandRoutedEventArgs.cs
- PointCollection.cs
- AssociationSetMetadata.cs
- SpellCheck.cs
- HighlightVisual.cs
- HtmlTernaryTree.cs
- ExpressionPrinter.cs
- RootProfilePropertySettingsCollection.cs
- AttributeUsageAttribute.cs
- DigestComparer.cs
- PreservationFileWriter.cs
- Splitter.cs
- SerializationEventsCache.cs
- AsmxEndpointPickerExtension.cs
- Helpers.cs
- NativeMethods.cs
- TTSVoice.cs
- SqlBooleanizer.cs
- ConditionBrowserDialog.cs
- AttributeProviderAttribute.cs
- WebBrowserBase.cs
- CodeLabeledStatement.cs
- SqlDataSourceDesigner.cs
- Directory.cs
- UnsafeNativeMethods.cs
- HostingEnvironment.cs
- FormViewDeletedEventArgs.cs
- _TransmitFileOverlappedAsyncResult.cs
- HtmlInputFile.cs
- StorageAssociationTypeMapping.cs
- QilExpression.cs
- DynamicDiscoSearcher.cs
- BulletDecorator.cs
- Types.cs
- CriticalExceptions.cs
- AssociationSet.cs
- RequestResizeEvent.cs
- AttachmentCollection.cs
- SizeChangedInfo.cs
- OrderedEnumerableRowCollection.cs
- SequenceQuery.cs
- ArrangedElementCollection.cs
- FormViewUpdateEventArgs.cs
- HtmlTitle.cs
- VSWCFServiceContractGenerator.cs
- Iis7Helper.cs
- DialogBaseForm.cs
- DoubleAnimationClockResource.cs
- PageHandlerFactory.cs
- SqlClientWrapperSmiStreamChars.cs
- TableLayout.cs
- PackageFilter.cs
- ResolveNameEventArgs.cs
- EntityCommand.cs
- ProfileSettingsCollection.cs
- SoapExtension.cs
- __Filters.cs
- HtmlHead.cs
- TransformedBitmap.cs
- VectorCollectionConverter.cs
- WmlPageAdapter.cs
- ObjectDataProvider.cs
- PagedDataSource.cs