public class NegotiateStream extends AuthenticatedStream
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Security.NegotiateStream
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.Security, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Security
|
static java.lang.String |
className
Qualified class name: System.Net.Security.NegotiateStream
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
NegotiateStream() |
NegotiateStream(java.lang.Object instance)
Internal constructor.
|
NegotiateStream(Stream innerStream)
Initializes a new instance by invoking the .NET constructor.
|
NegotiateStream(Stream innerStream,
boolean leaveInnerStreamOpen)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticateAsClient()
Invokes the .NET member AuthenticateAsClient.
|
void |
AuthenticateAsClient(NetworkCredential credential,
ChannelBinding binding,
java.lang.String targetName)
Invokes the .NET member AuthenticateAsClient.
|
void |
AuthenticateAsClient(NetworkCredential credential,
ChannelBinding binding,
java.lang.String targetName,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel allowedImpersonationLevel)
Invokes the .NET member AuthenticateAsClient.
|
void |
AuthenticateAsClient(NetworkCredential credential,
java.lang.String targetName)
Invokes the .NET member AuthenticateAsClient.
|
void |
AuthenticateAsClient(NetworkCredential credential,
java.lang.String targetName,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel allowedImpersonationLevel)
Invokes the .NET member AuthenticateAsClient.
|
Task |
AuthenticateAsClientAsync()
Invokes the .NET member AuthenticateAsClientAsync.
|
Task |
AuthenticateAsClientAsync(NetworkCredential credential,
ChannelBinding binding,
java.lang.String targetName)
Invokes the .NET member AuthenticateAsClientAsync.
|
Task |
AuthenticateAsClientAsync(NetworkCredential credential,
ChannelBinding binding,
java.lang.String targetName,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel allowedImpersonationLevel)
Invokes the .NET member AuthenticateAsClientAsync.
|
Task |
AuthenticateAsClientAsync(NetworkCredential credential,
java.lang.String targetName)
Invokes the .NET member AuthenticateAsClientAsync.
|
Task |
AuthenticateAsClientAsync(NetworkCredential credential,
java.lang.String targetName,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel allowedImpersonationLevel)
Invokes the .NET member AuthenticateAsClientAsync.
|
void |
AuthenticateAsServer()
Invokes the .NET member AuthenticateAsServer.
|
void |
AuthenticateAsServer(ExtendedProtectionPolicy policy)
Invokes the .NET member AuthenticateAsServer.
|
void |
AuthenticateAsServer(NetworkCredential credential,
ExtendedProtectionPolicy policy,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel requiredImpersonationLevel)
Invokes the .NET member AuthenticateAsServer.
|
void |
AuthenticateAsServer(NetworkCredential credential,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel requiredImpersonationLevel)
Invokes the .NET member AuthenticateAsServer.
|
Task |
AuthenticateAsServerAsync()
Invokes the .NET member AuthenticateAsServerAsync.
|
Task |
AuthenticateAsServerAsync(ExtendedProtectionPolicy policy)
Invokes the .NET member AuthenticateAsServerAsync.
|
Task |
AuthenticateAsServerAsync(NetworkCredential credential,
ExtendedProtectionPolicy policy,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel requiredImpersonationLevel)
Invokes the .NET member AuthenticateAsServerAsync.
|
Task |
AuthenticateAsServerAsync(NetworkCredential credential,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel requiredImpersonationLevel)
Invokes the .NET member AuthenticateAsServerAsync.
|
IAsyncResult |
BeginAuthenticateAsClient(AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginAuthenticateAsClient.
|
IAsyncResult |
BeginAuthenticateAsClient(NetworkCredential credential,
ChannelBinding binding,
java.lang.String targetName,
AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginAuthenticateAsClient.
|
IAsyncResult |
BeginAuthenticateAsClient(NetworkCredential credential,
ChannelBinding binding,
java.lang.String targetName,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel allowedImpersonationLevel,
AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginAuthenticateAsClient.
|
IAsyncResult |
BeginAuthenticateAsClient(NetworkCredential credential,
java.lang.String targetName,
AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginAuthenticateAsClient.
|
IAsyncResult |
BeginAuthenticateAsClient(NetworkCredential credential,
java.lang.String targetName,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel allowedImpersonationLevel,
AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginAuthenticateAsClient.
|
IAsyncResult |
BeginAuthenticateAsServer(AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginAuthenticateAsServer.
|
IAsyncResult |
BeginAuthenticateAsServer(ExtendedProtectionPolicy policy,
AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginAuthenticateAsServer.
|
IAsyncResult |
BeginAuthenticateAsServer(NetworkCredential credential,
ExtendedProtectionPolicy policy,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel requiredImpersonationLevel,
AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginAuthenticateAsServer.
|
IAsyncResult |
BeginAuthenticateAsServer(NetworkCredential credential,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel requiredImpersonationLevel,
AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginAuthenticateAsServer.
|
IAsyncResult |
BeginRead(byte[] buffer,
int offset,
int count,
AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginRead.
|
IAsyncResult |
BeginRead(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4)
Invokes the .NET member BeginRead.
|
IAsyncResult |
BeginWrite(byte[] buffer,
int offset,
int count,
AsyncCallback asyncCallback,
NetObject asyncState)
Invokes the .NET member BeginWrite.
|
IAsyncResult |
BeginWrite(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4)
Invokes the .NET member BeginWrite.
|
static NegotiateStream |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into NegotiateStream, a cast assert is made to check if types are compatible. |
ValueTask |
DisposeAsync()
Invokes the .NET member DisposeAsync.
|
void |
EndAuthenticateAsClient(IAsyncResult asyncResult)
Invokes the .NET member EndAuthenticateAsClient.
|
void |
EndAuthenticateAsServer(IAsyncResult asyncResult)
Invokes the .NET member EndAuthenticateAsServer.
|
int |
EndRead(IAsyncResult asyncResult)
Invokes the .NET member EndRead.
|
void |
EndWrite(IAsyncResult asyncResult)
Invokes the .NET member EndWrite.
|
void |
Flush()
Invokes the .NET member Flush.
|
Task |
FlushAsync(CancellationToken cancellationToken)
Invokes the .NET member FlushAsync.
|
TokenImpersonationLevel |
getImpersonationLevel()
Gets the value of the .NET property ImpersonationLevel.
|
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. |
IIdentity |
getRemoteIdentity()
Gets the value of the .NET property RemoteIdentity.
|
int |
Read(byte[] buffer,
int offset,
int count)
Invokes the .NET member Read.
|
int |
Read(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member Read.
|
Task_1 |
ReadAsync(byte[] buffer,
int offset,
int count,
CancellationToken cancellationToken)
Invokes the .NET member ReadAsync.
|
Task_1 |
ReadAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
CancellationToken dupParam3)
Invokes the .NET member ReadAsync.
|
ValueTask_1 |
ReadAsync(Memory_1 buffer,
CancellationToken cancellationToken)
Invokes the .NET member ReadAsync.
|
long |
Seek(long offset,
SeekOrigin origin)
Invokes the .NET member Seek.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetLength(long value)
Invokes the .NET member SetLength.
|
void |
Write(byte[] buffer,
int offset,
int count)
Invokes the .NET member Write.
|
void |
Write(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member Write.
|
Task |
WriteAsync(byte[] buffer,
int offset,
int count,
CancellationToken cancellationToken)
Invokes the .NET member WriteAsync.
|
Task |
WriteAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
CancellationToken dupParam3)
Invokes the .NET member WriteAsync.
|
ValueTask |
WriteAsync(ReadOnlyMemory_1 buffer,
CancellationToken cancellationToken)
Invokes the .NET member WriteAsync.
|
getIsAuthenticated, getIsEncrypted, getIsMutuallyAuthenticated, getIsServer, getIsSigned, getLeaveInnerStreamOpenclose, Close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadAsync, ReadAsync, ReadAtLeastAsync, ReadByte, ReadExactly, ReadExactly, ReadExactlyAsync, ReadExactlyAsync, ReadExactlyAsync, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsync, WriteByteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public NegotiateStream()
throws java.lang.Throwable
java.lang.Throwablepublic NegotiateStream(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 NegotiateStream(Stream innerStream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
innerStream - the argument of type Streamjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itpublic NegotiateStream(Stream innerStream, boolean leaveInnerStreamOpen) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
innerStream - the argument of type StreamleaveInnerStreamOpen - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void AuthenticateAsClient()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
Win32Exception,
NotSupportedException,
EventSourceException,
TaskSchedulerException,
TaskCanceledException,
AggregateException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - 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 itpublic void AuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
credential - the argument of type NetworkCredentialbinding - the argument of type ChannelBindingtargetName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - 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 itpublic void AuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException
credential - the argument of type NetworkCredentialbinding - the argument of type ChannelBindingtargetName - the argument of type java.lang.StringrequiredProtectionLevel - the argument of type ProtectionLevelallowedImpersonationLevel - the argument of type TokenImpersonationLeveljava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic void AuthenticateAsClient(NetworkCredential credential, java.lang.String targetName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
credential - the argument of type NetworkCredentialtargetName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - 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 itpublic void AuthenticateAsClient(NetworkCredential credential, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
credential - the argument of type NetworkCredentialtargetName - the argument of type java.lang.StringrequiredProtectionLevel - the argument of type ProtectionLevelallowedImpersonationLevel - the argument of type TokenImpersonationLeveljava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - 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 itpublic Task AuthenticateAsClientAsync() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic Task AuthenticateAsClientAsync(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException
credential - the argument of type NetworkCredentialbinding - the argument of type ChannelBindingtargetName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic Task AuthenticateAsClientAsync(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
credential - the argument of type NetworkCredentialbinding - the argument of type ChannelBindingtargetName - the argument of type java.lang.StringrequiredProtectionLevel - the argument of type ProtectionLevelallowedImpersonationLevel - the argument of type TokenImpersonationLeveljava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic Task AuthenticateAsClientAsync(NetworkCredential credential, java.lang.String targetName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException
credential - the argument of type NetworkCredentialtargetName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic Task AuthenticateAsClientAsync(NetworkCredential credential, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException
credential - the argument of type NetworkCredentialtargetName - the argument of type java.lang.StringrequiredProtectionLevel - the argument of type ProtectionLevelallowedImpersonationLevel - the argument of type TokenImpersonationLeveljava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void AuthenticateAsServer()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
Win32Exception,
NotSupportedException,
EventSourceException,
TaskSchedulerException,
TaskCanceledException,
AggregateException
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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - 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 itpublic void AuthenticateAsServer(ExtendedProtectionPolicy policy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
policy - the argument of type ExtendedProtectionPolicyjava.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - 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 itpublic void AuthenticateAsServer(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, Win32Exception, EventSourceException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException
credential - the argument of type NetworkCredentialpolicy - the argument of type ExtendedProtectionPolicyrequiredProtectionLevel - the argument of type ProtectionLevelrequiredImpersonationLevel - the argument of type TokenImpersonationLeveljava.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic void AuthenticateAsServer(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
credential - the argument of type NetworkCredentialrequiredProtectionLevel - the argument of type ProtectionLevelrequiredImpersonationLevel - the argument of type TokenImpersonationLeveljava.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - 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 itpublic Task AuthenticateAsServerAsync() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException
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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic Task AuthenticateAsServerAsync(ExtendedProtectionPolicy policy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException
policy - the argument of type ExtendedProtectionPolicyjava.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic Task AuthenticateAsServerAsync(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, Win32Exception
credential - the argument of type NetworkCredentialpolicy - the argument of type ExtendedProtectionPolicyrequiredProtectionLevel - the argument of type ProtectionLevelrequiredImpersonationLevel - the argument of type TokenImpersonationLeveljava.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic Task AuthenticateAsServerAsync(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException
credential - the argument of type NetworkCredentialrequiredProtectionLevel - the argument of type ProtectionLevelrequiredImpersonationLevel - the argument of type TokenImpersonationLeveljava.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic IAsyncResult BeginAuthenticateAsClient(AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
asyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - 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 itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
credential - the argument of type NetworkCredentialbinding - the argument of type ChannelBindingtargetName - the argument of type java.lang.StringasyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - 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 itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, NullReferenceException, EventSourceException
credential - the argument of type NetworkCredentialbinding - the argument of type ChannelBindingtargetName - the argument of type java.lang.StringrequiredProtectionLevel - the argument of type ProtectionLevelallowedImpersonationLevel - the argument of type TokenImpersonationLevelasyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, java.lang.String targetName, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
credential - the argument of type NetworkCredentialtargetName - the argument of type java.lang.StringasyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - 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 itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
credential - the argument of type NetworkCredentialtargetName - the argument of type java.lang.StringrequiredProtectionLevel - the argument of type ProtectionLevelallowedImpersonationLevel - the argument of type TokenImpersonationLevelasyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - 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 itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginAuthenticateAsServer(AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
asyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginAuthenticateAsServer(ExtendedProtectionPolicy policy, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
policy - the argument of type ExtendedProtectionPolicyasyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginAuthenticateAsServer(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, NullReferenceException, EventSourceException
credential - the argument of type NetworkCredentialpolicy - the argument of type ExtendedProtectionPolicyrequiredProtectionLevel - the argument of type ProtectionLevelrequiredImpersonationLevel - the argument of type TokenImpersonationLevelasyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginAuthenticateAsServer(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
credential - the argument of type NetworkCredentialrequiredProtectionLevel - the argument of type ProtectionLevelrequiredImpersonationLevel - the argument of type TokenImpersonationLevelasyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, ArgumentException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException, InvalidOperationException
BeginRead in class Streambuffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intasyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itOperationCanceledException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic IAsyncResult BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, ArgumentException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException, InvalidOperationException
BeginRead in class StreamdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type AsyncCallbackdupParam4 - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itOperationCanceledException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, ArgumentException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException, InvalidOperationException
BeginWrite in class Streambuffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intasyncCallback - the argument of type AsyncCallbackasyncState - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itOperationCanceledException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, ArgumentException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException, InvalidOperationException
BeginWrite in class StreamdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type AsyncCallbackdupParam4 - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itOperationCanceledException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static NegotiateStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into NegotiateStream, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedNegotiateStream instancejava.lang.Throwable - in case of error during cast operationpublic ValueTask DisposeAsync() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
DisposeAsync in class AuthenticatedStreamjava.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 itpublic void EndAuthenticateAsClient(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic void EndAuthenticateAsServer(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic int EndRead(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
EndRead in class StreamasyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
EndWrite in class StreamasyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic void Flush()
throws java.lang.Throwable
Flush in class Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task FlushAsync(CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, OutOfMemoryException, EventSourceException
FlushAsync in class StreamcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic TokenImpersonationLevel getImpersonationLevel() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class AuthenticatedStreampublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class AuthenticatedStreampublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class AuthenticatedStreamnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class AuthenticatedStreampublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class AuthenticatedStreampublic IIdentity getRemoteIdentity() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic int Read(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
EventSourceException,
TaskSchedulerException,
TaskCanceledException,
AggregateException
Read in class Streambuffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intjava.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 itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
Read in class StreamdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.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 itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic Task_1 ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
ReadAsync in class Streambuffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intcancellationToken - the argument of type CancellationTokenjava.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 itNullReferenceException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic Task_1 ReadAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
ReadAsync in class StreamdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type CancellationTokenjava.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 itNullReferenceException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic ValueTask_1 ReadAsync(Memory_1 buffer, CancellationToken cancellationToken) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NullReferenceException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException
ReadAsync in class Streambuffer - the argument of type Memory_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itOperationCanceledException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic long Seek(long offset,
SeekOrigin origin)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
Seek in class Streamoffset - the argument of type longorigin - the argument of type SeekOriginjava.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 itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class AuthenticatedStreaminstance - the new underlying objectpublic void SetLength(long value)
throws java.lang.Throwable
SetLength in class Streamvalue - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Write(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
EventSourceException,
TaskSchedulerException,
OperationCanceledException,
TaskCanceledException,
AggregateException
Write in class Streambuffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intjava.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 itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException
Write in class StreamdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.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 itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
WriteAsync in class Streambuffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intcancellationToken - the argument of type CancellationTokenjava.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 itNullReferenceException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
WriteAsync in class StreamdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type CancellationTokenjava.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 itNullReferenceException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic ValueTask WriteAsync(ReadOnlyMemory_1 buffer, CancellationToken cancellationToken) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NullReferenceException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException, ArrayTypeMismatchException
WriteAsync in class Streambuffer - the argument of type ReadOnlyMemory_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itOperationCanceledException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises it