StreamHandler Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| StreamHandler() |
Create a |
| StreamHandler(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| StreamHandler(Stream, Formatter) |
Create a |
StreamHandler()
Create a StreamHandler, with no current output stream.
[Android.Runtime.Register(".ctor", "()V", "")]
public StreamHandler();
- Attributes
Remarks
Create a StreamHandler, with no current output stream.
Java documentation for java.util.logging.StreamHandler.StreamHandler().
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
StreamHandler(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected StreamHandler(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Logging.StreamHandler : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Logging.StreamHandler
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
StreamHandler(Stream, Formatter)
Create a StreamHandler with a given Formatter
and output stream.
[Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;Ljava/util/logging/Formatter;)V", "")]
public StreamHandler(System.IO.Stream? out, Java.Util.Logging.Formatter? formatter);
[<Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;Ljava/util/logging/Formatter;)V", "")>]
new Java.Util.Logging.StreamHandler : System.IO.Stream * Java.Util.Logging.Formatter -> Java.Util.Logging.StreamHandler
Parameters
- out
- Stream
the target output stream
- formatter
- Formatter
Formatter to be used to format output
- Attributes
Exceptions
if os or formatter is null.
Remarks
Create a StreamHandler with a given Formatter and output stream.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.