Show / Hide Table of Contents

SetMessageProvider Method

An implementation of IErrorMessageProvider.

Sets the IErrorMessageProvider that FCExceptionBase will use for loading custom exception error message strings for localization or customization.

Syntax

'Declaration

Public Shared Sub SetMessageProvider( _
   ByVal _provider_ As IErrorMessageProvider _
) 
public static void SetMessageProvider( 
   IErrorMessageProvider _provider_
)

Parameters

provider

An implementation of IErrorMessageProvider.

Remarks

Setting this property will override all error message resolution in for all exceptions deriving from this class. Please see the documentation for IErrorMessageProvider on the details of providing custom error messages.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family

Reference

FCExceptionBase Class
FCExceptionBase Members
IErrorMessageProvider Interface

Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.