public class HttpListenerResponse extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.HttpListenerResponse
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net.HttpListener, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.HttpListener
|
static java.lang.String |
className
Qualified class name: System.Net.HttpListenerResponse
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HttpListenerResponse() |
HttpListenerResponse(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Abort()
Invokes the .NET member Abort.
|
void |
AddHeader(java.lang.String name,
java.lang.String value)
Invokes the .NET member AddHeader.
|
void |
AppendCookie(Cookie cookie)
Invokes the .NET member AppendCookie.
|
void |
AppendHeader(java.lang.String name,
java.lang.String value)
Invokes the .NET member AppendHeader.
|
static HttpListenerResponse |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HttpListenerResponse, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close()
Invokes the .NET member Close.
|
void |
Close(byte[] responseEntity,
boolean willBlock)
Invokes the .NET member Close.
|
void |
Close(JCORefOut dupParam0,
boolean dupParam1)
Invokes the .NET member Close.
|
void |
CopyFrom(HttpListenerResponse templateResponse)
Invokes the .NET member CopyFrom.
|
Encoding |
getContentEncoding()
Gets the value of the .NET property ContentEncoding.
|
long |
getContentLength64()
Gets the value of the .NET property ContentLength64.
|
java.lang.String |
getContentType()
Gets the value of the .NET property ContentType.
|
CookieCollection |
getCookies()
Gets the value of the .NET property Cookies.
|
WebHeaderCollection |
getHeaders()
Gets the value of the .NET property Headers.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getKeepAlive()
Gets the value of the .NET property KeepAlive.
|
Stream |
getOutputStream()
Gets the value of the .NET property OutputStream.
|
Version |
getProtocolVersion()
Gets the value of the .NET property ProtocolVersion.
|
java.lang.String |
getRedirectLocation()
Gets the value of the .NET property RedirectLocation.
|
boolean |
getSendChunked()
Gets the value of the .NET property SendChunked.
|
int |
getStatusCode()
Gets the value of the .NET property StatusCode.
|
java.lang.String |
getStatusDescription()
Gets the value of the .NET property StatusDescription.
|
void |
Redirect(java.lang.String url)
Invokes the .NET member Redirect.
|
void |
setContentEncoding(Encoding ContentEncoding)
Sets the value of the .NET property ContentEncoding.
|
void |
setContentLength64(long ContentLength64)
Sets the value of the .NET property ContentLength64.
|
void |
setContentType(java.lang.String ContentType)
Sets the value of the .NET property ContentType.
|
void |
SetCookie(Cookie cookie)
Invokes the .NET member SetCookie.
|
void |
setCookies(CookieCollection Cookies)
Sets the value of the .NET property Cookies.
|
void |
setHeaders(WebHeaderCollection Headers)
Sets the value of the .NET property Headers.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setKeepAlive(boolean KeepAlive)
Sets the value of the .NET property KeepAlive.
|
void |
setProtocolVersion(Version ProtocolVersion)
Sets the value of the .NET property ProtocolVersion.
|
void |
setRedirectLocation(java.lang.String RedirectLocation)
Sets the value of the .NET property RedirectLocation.
|
void |
setSendChunked(boolean SendChunked)
Sets the value of the .NET property SendChunked.
|
void |
setStatusCode(int StatusCode)
Sets the value of the .NET property StatusCode.
|
void |
setStatusDescription(java.lang.String StatusDescription)
Sets the value of the .NET property StatusDescription.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HttpListenerResponse()
throws java.lang.Throwable
java.lang.Throwablepublic HttpListenerResponse(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void Abort()
throws java.lang.Throwable,
ObjectDisposedException,
PlatformNotSupportedException,
ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void AddHeader(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
EventSourceException,
IndexOutOfRangeException
name - the argument of type java.lang.Stringvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void AppendCookie(Cookie cookie) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, FormatException, EventSourceException
cookie - the argument of type Cookiejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic void AppendHeader(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
EventSourceException,
IndexOutOfRangeException
name - the argument of type java.lang.Stringvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static HttpListenerResponse cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HttpListenerResponse, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHttpListenerResponse instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
FormatException,
ArgumentNullException,
EventSourceException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic void Close(byte[] responseEntity,
boolean willBlock)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
ArgumentNullException,
EventSourceException,
TaskSchedulerException,
TaskCanceledException,
AggregateException,
SemaphoreFullException
responseEntity - the argument of type byte[]willBlock - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itpublic void Close(JCORefOut dupParam0, boolean dupParam1) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itpublic void CopyFrom(HttpListenerResponse templateResponse) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException
templateResponse - the argument of type HttpListenerResponsejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Encoding getContentEncoding() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long getContentLength64()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getContentType()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic CookieCollection getCookies() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic WebHeaderCollection getHeaders() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic boolean getKeepAlive()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Stream getOutputStream() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Version getProtocolVersion() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic java.lang.String getRedirectLocation()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException,
OutOfMemoryException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic boolean getSendChunked()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getStatusCode()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getStatusDescription()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Redirect(java.lang.String url)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
EventSourceException,
IndexOutOfRangeException,
ObjectDisposedException,
ProtocolViolationException
url - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itProtocolViolationException - if the .NET member raises itpublic void setContentEncoding(Encoding ContentEncoding) throws java.lang.Throwable
ContentEncoding - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setContentLength64(long ContentLength64)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException
ContentLength64 - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setContentType(java.lang.String ContentType)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException
ContentType - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void SetCookie(Cookie cookie) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, FormatException, EventSourceException
cookie - the argument of type Cookiejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic void setCookies(CookieCollection Cookies) throws java.lang.Throwable
Cookies - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setHeaders(WebHeaderCollection Headers) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, NotSupportedException, PlatformNotSupportedException, ArrayTypeMismatchException, OutOfMemoryException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, RankException
Headers - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setKeepAlive(boolean KeepAlive)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException
KeepAlive - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setProtocolVersion(Version ProtocolVersion) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
ProtocolVersion - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setRedirectLocation(java.lang.String RedirectLocation)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException
RedirectLocation - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void setSendChunked(boolean SendChunked)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ProtocolViolationException
SendChunked - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itProtocolViolationException - if the .NET member raises itpublic void setStatusCode(int StatusCode)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
ProtocolViolationException
StatusCode - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itProtocolViolationException - if the .NET member raises itpublic void setStatusDescription(java.lang.String StatusDescription)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException
StatusDescription - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises it