Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- WindowsTitleBar.cs
- HwndSubclass.cs
- IDQuery.cs
- CategoryValueConverter.cs
- TableLayout.cs
- AdvancedBindingEditor.cs
- TimeZone.cs
- OperationAbortedException.cs
- ScrollData.cs
- XmlEntity.cs
- ColorConvertedBitmap.cs
- TraversalRequest.cs
- ExpressionEditorAttribute.cs
- SystemIcons.cs
- HttpHeaderCollection.cs
- ConnectorDragDropGlyph.cs
- XmlDocumentSerializer.cs
- SafePEFileHandle.cs
- SqlDataSourceStatusEventArgs.cs
- ConfigurationConverterBase.cs
- WindowsAuthenticationEventArgs.cs
- PersistChildrenAttribute.cs
- ListBase.cs
- SafeCertificateContext.cs
- TriState.cs
- SchemaAttDef.cs
- VerificationAttribute.cs
- PersonalizationProviderHelper.cs
- ThreadStartException.cs
- CallContext.cs
- DoubleLinkList.cs
- Signature.cs
- Models.cs
- GlobalAllocSafeHandle.cs
- XDRSchema.cs
- ConfigurationSchemaErrors.cs
- Win32.cs
- CodeNamespace.cs
- _CacheStreams.cs
- TraceLog.cs
- OraclePermission.cs
- KnownAssembliesSet.cs
- _ProxyChain.cs
- TextElement.cs
- OleTxTransaction.cs
- SerializationSectionGroup.cs
- XmlComplianceUtil.cs
- X509Certificate2Collection.cs
- WorkflowInstanceContextProvider.cs
- StringSource.cs
- IListConverters.cs
- DesignBindingValueUIHandler.cs
- RuleSettings.cs
- GridViewEditEventArgs.cs
- ListViewSelectEventArgs.cs
- DocumentSequence.cs
- LambdaCompiler.Expressions.cs
- WebSysDescriptionAttribute.cs
- Transform.cs
- EventDescriptorCollection.cs
- StorageComplexPropertyMapping.cs
- URL.cs
- StateChangeEvent.cs
- Parser.cs
- CompareInfo.cs
- ArcSegment.cs
- NoPersistScope.cs
- ThreadStateException.cs
- XmlnsCache.cs
- DefaultProxySection.cs
- TextBoxLine.cs
- ReadOnlyMetadataCollection.cs
- DataGridViewCellCancelEventArgs.cs
- DetailsViewDeletedEventArgs.cs
- PropertyMapper.cs
- Contracts.cs
- Crypto.cs
- Message.cs
- MatrixCamera.cs
- PagePropertiesChangingEventArgs.cs
- ExpressionsCollectionConverter.cs
- CalendarModeChangedEventArgs.cs
- CodeBinaryOperatorExpression.cs
- SynchronousChannel.cs
- DataViewListener.cs
- DataTemplateKey.cs
- SecureStringHasher.cs
- Restrictions.cs
- _ListenerResponseStream.cs
- Rotation3D.cs
- SemanticKeyElement.cs
- ProcessHost.cs
- ConfigurationManagerInternal.cs
- BatchServiceHost.cs
- Rect3DConverter.cs
- MexTcpBindingElement.cs
- WindowsTooltip.cs
- Size.cs
- Resources.Designer.cs
- DNS.cs