SoapException.Lang Property

 

Gets the human language associated with the exception.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

[ComVisibleAttribute(false)]
public string Lang { get; }

Property Value

Type: System.String

A String value that identifies the human language associated with the exception.

If your Web service works with multiple human languages, throw exceptions with message text or other properties localized to each language. Use this property to identify the language associated with the exception.

.NET Framework
Available since 2.0
Return to top
Show: