MonobjcMonobjc Documented Class Library
LocalizedStringForStatusCode Method (statusCode)
NamespacesMonobjc.FoundationNSHTTPURLResponseLocalizedStringForStatusCode(NSInteger)

Returns a localized string corresponding to a specified HTTP status code.

Original signature is '+ (NSString *)localizedStringForStatusCode:(NSInteger)statusCode'

Available in Mac OS X v10.2 with Safari 1.0 installed and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSString LocalizedStringForStatusCode(
	NSInteger statusCode
)
Public Shared Function LocalizedStringForStatusCode ( _
	statusCode As NSInteger _
) As NSString
public:
static NSString^ LocalizedStringForStatusCode(
	NSInteger statusCode
)
Parameters
statusCode (NSInteger)
The HTTP status code.
Return Value
A localized string suitable for displaying to users that describes the specified status code.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)