public class IsolatedStorageFileStream extends FileStream
.NET documentation at https://learn.microsoft.com/dotnet/api/System.IO.IsolatedStorage.IsolatedStorageFileStream
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.IO.IsolatedStorage, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.IO.IsolatedStorage
|
static java.lang.String |
className
Qualified class name: System.IO.IsolatedStorage.IsolatedStorageFileStream
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IsolatedStorageFileStream() |
IsolatedStorageFileStream(java.lang.Object instance)
Internal constructor.
|
IsolatedStorageFileStream(java.lang.String path,
FileMode mode)
Initializes a new instance by invoking the .NET constructor.
|
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access)
Initializes a new instance by invoking the .NET constructor.
|
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share)
Initializes a new instance by invoking the .NET constructor.
|
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
int bufferSize)
Initializes a new instance by invoking the .NET constructor.
|
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
int bufferSize,
IsolatedStorageFile isf)
Initializes a new instance by invoking the .NET constructor.
|
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
IsolatedStorageFile isf)
Initializes a new instance by invoking the .NET constructor.
|
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
IsolatedStorageFile isf)
Initializes a new instance by invoking the .NET constructor.
|
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
IsolatedStorageFile isf)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IAsyncResult |
BeginRead(byte[] array,
int offset,
int numBytes,
AsyncCallback userCallback,
NetObject stateObject)
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[] array,
int offset,
int numBytes,
AsyncCallback userCallback,
NetObject stateObject)
Invokes the .NET member BeginWrite.
|
IAsyncResult |
BeginWrite(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4)
Invokes the .NET member BeginWrite.
|
static IsolatedStorageFileStream |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IsolatedStorageFileStream, a cast assert is made to check if types are compatible. |
ValueTask |
DisposeAsync()
Invokes the .NET member DisposeAsync.
|
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.
|
void |
Flush(boolean flushToDisk)
Invokes the .NET member Flush.
|
Task |
FlushAsync(CancellationToken cancellationToken)
Invokes the .NET member FlushAsync.
|
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. |
void |
Lock(long position,
long length)
Invokes the .NET member Lock.
|
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.
|
int |
ReadByte()
Invokes the .NET member ReadByte.
|
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 |
Unlock(long position,
long length)
Invokes the .NET member Unlock.
|
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.
|
void |
WriteByte(byte value)
Invokes the .NET member WriteByte.
|
CopyTo, CopyToAsync, getIsAsync, getName, getSafeFileHandleclose, Close, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadAsync, ReadAsync, ReadAtLeastAsync, ReadExactly, ReadExactly, ReadExactlyAsync, ReadExactlyAsync, ReadExactlyAsync, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsyncGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public IsolatedStorageFileStream()
throws java.lang.Throwable
java.lang.Throwablepublic IsolatedStorageFileStream(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 IsolatedStorageFileStream(java.lang.String path,
FileMode mode)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IsolatedStorageException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
SerializationException
path - the argument of type java.lang.Stringmode - the argument of type FileModejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIsolatedStorageException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
InvalidOperationException,
ArgumentOutOfRangeException,
ApplicationException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SerializationException
path - the argument of type java.lang.Stringmode - the argument of type FileModeaccess - the argument of type FileAccessjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIsolatedStorageException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itApplicationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
InvalidOperationException,
ArgumentOutOfRangeException,
ApplicationException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SerializationException
path - the argument of type java.lang.Stringmode - the argument of type FileModeaccess - the argument of type FileAccessshare - the argument of type FileSharejava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIsolatedStorageException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itApplicationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
int bufferSize)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
InvalidOperationException,
ArgumentOutOfRangeException,
ApplicationException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SerializationException
path - the argument of type java.lang.Stringmode - the argument of type FileModeaccess - the argument of type FileAccessshare - the argument of type FileSharebufferSize - the argument of type intjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIsolatedStorageException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itApplicationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
int bufferSize,
IsolatedStorageFile isf)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
AbandonedMutexException,
OutOfMemoryException,
Win32Exception,
ApplicationException,
ObjectDisposedException,
SerializationException,
IOException
path - the argument of type java.lang.Stringmode - the argument of type FileModeaccess - the argument of type FileAccessshare - the argument of type FileSharebufferSize - the argument of type intisf - the argument of type IsolatedStorageFilejava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itIsolatedStorageException - if the .NET member raises itFormatException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itApplicationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
IsolatedStorageFile isf)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
InvalidOperationException,
ArgumentOutOfRangeException,
ApplicationException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SerializationException
path - the argument of type java.lang.Stringmode - the argument of type FileModeaccess - the argument of type FileAccessshare - the argument of type FileShareisf - the argument of type IsolatedStorageFilejava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIsolatedStorageException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itApplicationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
IsolatedStorageFile isf)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
InvalidOperationException,
ArgumentOutOfRangeException,
ApplicationException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SerializationException
path - the argument of type java.lang.Stringmode - the argument of type FileModeaccess - the argument of type FileAccessisf - the argument of type IsolatedStorageFilejava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIsolatedStorageException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itApplicationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
IsolatedStorageFile isf)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IsolatedStorageException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
SerializationException
path - the argument of type java.lang.Stringmode - the argument of type FileModeisf - the argument of type IsolatedStorageFilejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIsolatedStorageException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itpublic IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, NetObject stateObject) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, EventSourceException
BeginRead in class FileStreamarray - the argument of type byte[]offset - the argument of type intnumBytes - the argument of type intuserCallback - the argument of type AsyncCallbackstateObject - the argument of type NetObjectjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - 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 itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, EventSourceException
BeginRead in class FileStreamdupParam0 - 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 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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - 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 itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, AsyncCallback userCallback, NetObject stateObject) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, EventSourceException
BeginWrite in class FileStreamarray - the argument of type byte[]offset - the argument of type intnumBytes - the argument of type intuserCallback - the argument of type AsyncCallbackstateObject - the argument of type NetObjectjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - 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 itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, EventSourceException
BeginWrite in class FileStreamdupParam0 - 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 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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - 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 itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic static IsolatedStorageFileStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IsolatedStorageFileStream, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedIsolatedStorageFileStream instancejava.lang.Throwable - in case of error during cast operationpublic ValueTask DisposeAsync() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, IndexOutOfRangeException
DisposeAsync in class FileStreamjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic int EndRead(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
EndRead in class FileStreamasyncResult - the argument of type IAsyncResultjava.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 itSemaphoreFullException - if the .NET member raises itpublic void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
EndWrite in class FileStreamasyncResult - the argument of type IAsyncResultjava.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 itSemaphoreFullException - if the .NET member raises itpublic void Flush()
throws java.lang.Throwable
Flush in class FileStreamjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Flush(boolean flushToDisk)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
Flush in class FileStreamflushToDisk - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - 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 Task FlushAsync(CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, OutOfMemoryException, EventSourceException, IndexOutOfRangeException
FlushAsync in class FileStreamcancellationToken - 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 itIndexOutOfRangeException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class FileStreampublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class FileStreampublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class FileStreamnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class FileStreampublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class FileStreampublic void Lock(long position,
long length)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
Lock in class FileStreamposition - the argument of type longlength - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - 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 int Read(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable
Read in class FileStreambuffer - 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 CLRpublic int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
Read in class FileStreamdupParam0 - 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 CLRpublic Task_1 ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException
ReadAsync in class FileStreambuffer - 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 CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - 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 itArgumentException - if the .NET member raises itpublic Task_1 ReadAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException
ReadAsync in class FileStreamdupParam0 - 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 CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - 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 itArgumentException - if the .NET member raises itpublic ValueTask_1 ReadAsync(Memory_1 buffer, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, ObjectDisposedException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException
ReadAsync in class FileStreambuffer - the argument of type Memory_1cancellationToken - the argument of type CancellationTokenjava.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 itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic int ReadByte()
throws java.lang.Throwable
ReadByte in class FileStreamjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic long Seek(long offset,
SeekOrigin origin)
throws java.lang.Throwable
Seek in class FileStreamoffset - the argument of type longorigin - the argument of type SeekOriginjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class FileStreaminstance - the new underlying objectpublic void SetLength(long value)
throws java.lang.Throwable
SetLength in class FileStreamvalue - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Unlock(long position,
long length)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
Unlock in class FileStreamposition - the argument of type longlength - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - 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 Write(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable
Write in class FileStreambuffer - 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 CLRpublic void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
Write in class FileStreamdupParam0 - 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 CLRpublic Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException
WriteAsync in class FileStreambuffer - 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 CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - 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 itArgumentException - if the .NET member raises itpublic Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException
WriteAsync in class FileStreamdupParam0 - 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 CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - 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 itArgumentException - if the .NET member raises itpublic ValueTask WriteAsync(ReadOnlyMemory_1 buffer, CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException, ArrayTypeMismatchException
WriteAsync in class FileStreambuffer - the argument of type ReadOnlyMemory_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - 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 itpublic void WriteByte(byte value)
throws java.lang.Throwable
WriteByte in class FileStreamvalue - the argument of type bytejava.lang.Throwable - if the call fails in the bridge or in the CLR