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
- PersonalizationState.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- Utils.cs
- ModelItemExtensions.cs
- ExpressionBuilderCollection.cs
- EntityException.cs
- Type.cs
- DateTimeStorage.cs
- CompoundFileStreamReference.cs
- DefaultAuthorizationContext.cs
- ListViewHitTestInfo.cs
- ConfigurationConverterBase.cs
- ConfigurationManagerHelperFactory.cs
- Stylus.cs
- DefinitionBase.cs
- SystemException.cs
- RadioButtonBaseAdapter.cs
- LongCountAggregationOperator.cs
- TabOrder.cs
- AssemblyUtil.cs
- ConfigXmlComment.cs
- ProtectedConfiguration.cs
- XmlSchemaAttributeGroup.cs
- SpellerHighlightLayer.cs
- DetailsViewDeletedEventArgs.cs
- SelectedGridItemChangedEvent.cs
- WebPartHelpVerb.cs
- MissingManifestResourceException.cs
- IntSecurity.cs
- ColorBlend.cs
- ComNativeDescriptor.cs
- ObjectDataSourceEventArgs.cs
- SqlWorkflowInstanceStoreLock.cs
- Peer.cs
- HtmlToClrEventProxy.cs
- HttpAsyncResult.cs
- MultiTrigger.cs
- PropertyRecord.cs
- NumberFormatInfo.cs
- _DynamicWinsockMethods.cs
- XMLUtil.cs
- MILUtilities.cs
- DataViewListener.cs
- HtmlHistory.cs
- InputLangChangeEvent.cs
- ReservationCollection.cs
- SplitterCancelEvent.cs
- Binding.cs
- ListManagerBindingsCollection.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- SafeThreadHandle.cs
- CharacterString.cs
- HttpApplicationStateBase.cs
- ScriptResourceInfo.cs
- PerformanceCounterPermission.cs
- SoapSchemaExporter.cs
- GacUtil.cs
- DynamicQueryStringParameter.cs
- TextCompositionEventArgs.cs
- MarshalByRefObject.cs
- CqlIdentifiers.cs
- WindowsGrip.cs
- MenuItemCollectionEditorDialog.cs
- Utils.cs
- OdbcCommand.cs
- XmlElementAttribute.cs
- XamlBrushSerializer.cs
- AssemblyAttributesGoHere.cs
- ThousandthOfEmRealPoints.cs
- NativeCompoundFileAPIs.cs
- GeneratedContractType.cs
- HttpModule.cs
- WebPartVerbCollection.cs
- NativeMethods.cs
- MutableAssemblyCacheEntry.cs
- EventManager.cs
- HotSpot.cs
- TreeViewItemAutomationPeer.cs
- InputScopeAttribute.cs
- ReflectionHelper.cs
- RepeatButtonAutomationPeer.cs
- HeaderUtility.cs
- CounterSampleCalculator.cs
- WindowsListView.cs
- UIHelper.cs
- SqlDataSourceQuery.cs
- NullExtension.cs
- WebPartVerb.cs
- Cell.cs
- KeyTimeConverter.cs
- IdentityModelDictionary.cs
- DescendantQuery.cs
- ActivityInstance.cs
- LabelLiteral.cs
- AssemblyFilter.cs
- WebControlsSection.cs
- EncodingNLS.cs
- MissingSatelliteAssemblyException.cs
- MessageContractMemberAttribute.cs
- HotSpot.cs