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
- OleDbSchemaGuid.cs
- RawTextInputReport.cs
- CatalogZone.cs
- DropDownButton.cs
- SafeRightsManagementSessionHandle.cs
- MembershipUser.cs
- CompiledRegexRunnerFactory.cs
- SwitchElementsCollection.cs
- GcSettings.cs
- InteropAutomationProvider.cs
- DataGridViewCellValueEventArgs.cs
- ClaimTypes.cs
- RequestResponse.cs
- FlagsAttribute.cs
- TargetInvocationException.cs
- RowSpanVector.cs
- ScriptReferenceBase.cs
- DataGridCellInfo.cs
- ScriptingJsonSerializationSection.cs
- PropertyIdentifier.cs
- MethodImplAttribute.cs
- Rule.cs
- ConfigurationErrorsException.cs
- AlignmentYValidation.cs
- PathFigureCollectionConverter.cs
- TextFormatterImp.cs
- ItemPager.cs
- FontStretch.cs
- FamilyTypefaceCollection.cs
- UncommonField.cs
- ToolboxBitmapAttribute.cs
- UnmanagedHandle.cs
- SpeechRecognizer.cs
- ProcessThreadCollection.cs
- SafeCryptoHandles.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- ProfessionalColorTable.cs
- EntityDataSourceStatementEditor.cs
- NotConverter.cs
- TcpTransportBindingElement.cs
- PasswordPropertyTextAttribute.cs
- CodeNamespaceImport.cs
- AlternateView.cs
- PatternMatcher.cs
- InvalidProgramException.cs
- MultiSelectRootGridEntry.cs
- followingsibling.cs
- WebUtil.cs
- ModuleBuilder.cs
- XmlSerializerFactory.cs
- DefaultSection.cs
- RepeaterCommandEventArgs.cs
- UpdateRecord.cs
- SolidColorBrush.cs
- OleDbConnection.cs
- DataTableNewRowEvent.cs
- WebPartCollection.cs
- _DisconnectOverlappedAsyncResult.cs
- IndicShape.cs
- PeerEndPoint.cs
- DateTimeStorage.cs
- ProviderCollection.cs
- WriteableBitmap.cs
- ReadWriteControlDesigner.cs
- RevocationPoint.cs
- Configuration.cs
- ChangeProcessor.cs
- AppLevelCompilationSectionCache.cs
- ContentPlaceHolder.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ValueUnavailableException.cs
- DataGridViewColumnCollectionEditor.cs
- PropertyTab.cs
- DocumentApplicationState.cs
- PassportAuthenticationEventArgs.cs
- CustomValidator.cs
- InstanceDataCollectionCollection.cs
- PhysicalAddress.cs
- TraceHelpers.cs
- DocumentApplicationJournalEntryEventArgs.cs
- BaseParaClient.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- XmlSchemaGroup.cs
- OleServicesContext.cs
- SQLInt64.cs
- URLString.cs
- SurrogateEncoder.cs
- ServiceEndpointElement.cs
- ProcessModuleCollection.cs
- HyperlinkAutomationPeer.cs
- SettingsPropertyIsReadOnlyException.cs
- DataControlPagerLinkButton.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- HotCommands.cs
- RoleManagerSection.cs
- SerialStream.cs
- DependencyPropertyConverter.cs
- ToolboxItemCollection.cs
- Effect.cs