Back to Devexpress

ModuleBase.Name Property

expressappframework-devexpress-dot-expressapp-dot-modulebase-6b46423a.md

latest2.5 KB
Original Source

ModuleBase.Name Property

Gets the full name of a module’s type.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public virtual string Name { get; }
vb
Public Overridable ReadOnly Property Name As String

Property Value

TypeDescription
String

A string value that represents the current module’s full name.

|

Remarks

This property value is used as an identifier for modules. For instance, it represents modules in the application’s database.

This property is overriden in ModuleBase class descnedants, by default. However, you can replace the default name with a custom one.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Name property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

xaf-custom-logon-parameters/CS/EF/EFCoreCustomLogonAll.Win/WinApplication.cs#L30

csharp
message = "The client application cannot connect to the Middle Tier Application Server and its database. " +
          "To avoid this error, ensure that both the client and the server have the same modules set. Problematic module: " + isOldError.Module.Name +
          ". For more information, see https://docs.devexpress.com/eXpressAppFramework/113439/concepts/security-system/middle-tier-security-wcf-service#troubleshooting";

See Also

ModuleBase Class

ModuleBase Members

DevExpress.ExpressApp Namespace